Dear All, It's been a long time since I wanted to do this extension for JAL to replace Jaledit.
One of the main problems that had to be solved was cross platform compatibility which is now possible through vscode. With real big jal include files, Jaledit was crawling and there were issues with file association and permission which resulted in crashing of jaledit on editor preferences unless it warun with admin rights This is not a perfect solution yet as there are many more features to be implemented to have all functionality of jaledit. *But the following features work very well* - Syntax Highlighting - Fast opening and saving of files irrespective of the size. - Linux and Windows support - Code folding - Auto completion ( More work needs to be done to have functions/procedures included from include files) - Code Snippets ( Only very few are added, but not very difficult to add) - Compiling to Hex file - Ctrl-Click to go to error line ( It doesn't go automatically) - Searching/Replacing any word within files and across folder - Direct Github Push/Pull/Diff other commands - Side by side View and file comparison - Theme selection/switching - Folder/explorer view *Some of the main features not in the extension* - Code Explorer for include files,procedures,functions,variables,constants,aliases - Opening include files with Ctrl-Enter - Auto Backup with time stamp/compilation - Backup project as zip file - Go to error line after compilation - Running programmer on successful build - Serial Terminal - Compile/Program buttons/keys - Detecting PIC name from code and passing it as variable to Programmer executable - Set file as Active JAL file and compile that irrespective of file you are editing *Requirements & Installation Process: * 1. Download,install and run Visual studio code from https://code.visualstudio.com/download 2. Press Ctrl-Shit-X to invoke the Extensions and search for JAL (or trying to open a JAL file will also prompt to install the extension) 3. Click Install to add the extension to vscode 4. Set the path to your jal compiler exe and library file path by clicking the gear icon in extension manager and selecting Extension Settings (It's also possible by going to editor preferences and searching for JAL) 5. Press Ctrl-Shift-P and Type/select "Tasks:Open User Tasks''. 6. Select Others (Example to run arbitrary command). 7. In the opened tasks.json paste the following code > > { > // prefilled tasks.json for compiling a JAL file > "version": "2.0.0", > "tasks": [ > { > "label": "Compile JAL File", > "type": "process", > "command": "${config:jal.paths.exePath}", > "args": [ > "${file}", > "-s", > "${config:jal.paths.LibPath}" > ], > "presentation": { > "reveal": "always", > "panel": "new" > }, > "problemMatcher": [], > "group": { > "kind": "build", > "isDefault": true > } > } > ] > } > 8. Open any JAL file and press Ctrl-Shift-B to build the JAL file and you are ready to rock ! Code of the extension is fully open source and can be pulled/cloned from GitHub - sunishnet/vscode-jal: A VS Code extension for JAL <https://github.com/sunishnet/vscode-jal/> Visual studio code marketplace link for JAL Jal - Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=sunish.vscode-jal> ________________________________________________________________________________________________________________________________ Off late the activity in our community is very less except for very people like Rob, I guess, most are on Arduino/ESP/ST. How many know that Arduino Project was started in JAL by Massimo who was one of the jallist members. I'm not sure how many of us are there from the days of Wouters' JAL, but would like to say hi to those lurkers sharing the nostalgia :-) . Kind regards, Sunish -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/CAFGw2pGUWLmnU0sHXGRPsjbPMUhU2zU5vd_Pc6VYf6LZMM-_Gw%40mail.gmail.com.
