| Menu | JAQForum Ver 19.10.27 |
Forum Index : Microcontroller and PC projects : MMBasic VSCode Extension
If anyone uses VSCode, I have put together a VSCode extension to support MMBasic. It's not 100% complete yet, but I think it's close enough to be usable. Please try it and let me know what's missing or what you would like changed. I'm also very receptive to pull requests if you would like to like to contribute. Thanks! VSCode-MMBasic |
||||||
Great minds.... You could have a play with this one too. mmbasic-support-0.0.7.zip Syntax highlighting for MMBasic commands, functions, types, numbers, strings, comments, subcommands (e.g., Sprite static), and PIO/GUI/etc. sub-structures. Folding/indent rules for MMBasic blocks (If/End If, For/Next, Sub/End Sub, Select/Case, etc.). Snippets generated from the command set for quick insertion. Theme: “MMBasic Editor” matching PicoMite color scheme; numbers green, keywords cyan. Serial console: opens a terminal on a chosen port, auto-reconnects after PicoMite OPTION/restart drops USB CDC. Uploader: “Send To PicoMite” (Ctrl+Alt+U on Windows/Linux, Cmd+Alt+U on macOS) uses AUTOSAVE over the selected serial port, with configurable baud and line delay. Cross-platform packaging: single VSIX works on Windows, macOS, Linux; serialport uses prebuilds or rebuilds if needed. |
||||||
What a great idea to do that ..finally! I think it will be beneficial for many people. Good luck! |
||||||
Cool! I got only the syntax highlighting: MMBasic Syntax highlighting for VS Code ![]() Edited 2026-02-24 08:27 by karlelch |
||||||
Maybe Picom could be integrated to support full backup and restore of a picomite … Edited 2026-02-24 08:33 by karlelch |
||||||
I updated the extension so it's up to date as of 6.02.00. Updated the tooltips, autocomplete, keywords, etc. I added a remote debugger I added file browsing. View, Upload, Download, Edit and Delete files directly on your device. I've tested it on macOS and Linux, with PicoCalc devices running PicoMite and WebMite. It should work on everything, but if you run into any issues let me know. There is a vsix file provided in the Releases for easy installing. vscode-mmbasic |
||||||
I get a message when I try to send the program (CTRL+Alt+U) ![]() What could be the problem... Yes, I am a beginner at VSCODE /Peter63 |
||||||
Thanks for the update and for providing a vsix file. I was about to try the earlier version under Windows but stopped the installation because I got may warnings about unsafe packages. I’ll try the new version later today. Best Thomas |
||||||
A small update from me. Sending programs to PicoMite now works from VSCODE (I had to activate Terminal first...) Using: mmbasic-support-0.0.7.zip (VSIX-file) /Peter63 Edited 2026-03-02 01:51 by Peter63 |
||||||
DNSGeek , I Cannot find VSIX file, sorry /Peter63 |
||||||
Go to the repository page. In the right hand column, you'll see a block titled "Releases". Click on the bolded word Releases and it will take you to the page with all of the files, including the most recent vsix file. I didn't just link directly to the release page because I wanted to show you how to get to it so you know how find it on every GitHub repo that does releases. |
||||||
Thanks, will try a bit later. /Peter63 |
||||||
| The Back Shed's forum code is written, and hosted, in Australia. |