![]() |
Forum Index : Microcontroller and PC projects : Syntax highlighting for MMBasic in VSCode w/ ChatGTP ...
Author | Message | ||||
karlelch![]() Senior Member ![]() Joined: 30/10/2014 Location: GermanyPosts: 230 |
My question: ![]() Very quick reply, looks very nice, but then ... ![]() After some back and forth, this is the result: MMBasic-Syntax-0.1.3.zip (Needs to be renamed to .vsix to be installed in VSCode). Not very convincing yet, but at least can be installed and does some highlighting. Best Thomas |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 359 |
Nice try for a shortcut in the brave new world :) But ask it if users are using VSC for MMbasic, let's see what it says (thinks) and how long this answer will take :)) |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1183 |
Yeah, I really don't understand the big deal with VSC. Just makes everything clumsier for me. |
||||
karlelch![]() Senior Member ![]() Joined: 30/10/2014 Location: GermanyPosts: 230 |
For one project, I am using also C and MicroPython together with MMBasic; having the source code managed in one environment is more convenient, hence VSCode. Anyway, the point here was rather that ChatGTP said, well sure, no problem, here you go, and then „admitted“ that it actually hadn’t done the work … just like a lazy human may try. Best Thomas Edited 2025-05-11 16:30 by karlelch |
||||
karlelch![]() Senior Member ![]() Joined: 30/10/2014 Location: GermanyPosts: 230 |
But to answer your first question, not many but still long answer 😉 ![]() |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 359 |
The answer is terrifying precise from my perspective.Thanks for checking that out. |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 359 |
and many thanks for the very nice python tool for the pico. Do you think you could build a small GUI around it? ..preferable in QT? if I may please :) May I encourage you to fork this and build a suite for the PicoMite? Edited 2025-05-11 22:43 by dddns |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 359 |
A dream would be together with @thwill no interest to make it perfect? wanted to say.. and perfect it Edited 2025-05-11 23:12 by dddns |
||||
karlelch![]() Senior Member ![]() Joined: 30/10/2014 Location: GermanyPosts: 230 |
Hi dddns, Thanks ..preferable in QT? if I may please :) That was not my plan - first, I don't want to/cannot compete with MMEdit, second, I was aiming for a command line tool ![]() I looked at Geany and I used it on the Rasberry Pi for as a Python IDE -- until the RPis got fast enough to supporting VSCode. Geany is nice but I am not sure how well it still maintained. Also, it would take some time to learn how to write a Geany plug-in, time that I unfortunately don't have right now -- sorry. My workflow is to make large changes to MMBasic programs offline in VSCode, then transfer them to the PicoMite and debug/edit them directly in the terminal. I like the simplicity of the built-in editor. To make that transfer easy (and to allow for quick backups/restores), I created picom. But if you want to try, please use my code. Best Thomas |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 359 |
Thanks for answering, I don't want to follow up on this either. only for myself |
||||
karlelch![]() Senior Member ![]() Joined: 30/10/2014 Location: GermanyPosts: 230 |
Sorry for taking so long - I came back from a vacation just yesterday |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 359 |
WB :) |
||||
pwillard Guru ![]() Joined: 07/06/2022 Location: United StatesPosts: 310 |
Note: You can ask ChatGPT to create a GUI for the code yourself, and you might be surprised at how well the chatbot does it. |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 359 |
I know. And I could sell my soul to it. I've seen an England based church community praying to Alexa. And I could try doing it by myself, but I don't need it really. But as the cli is not even compiling and running correct under Linux, what can I say.. Edited 2025-05-19 22:24 by dddns |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |