Collaboration

Extensions for the main code editors.

2

XenonLab 2019-03-25 15:07

Hi Everyone! I use many code editors, especially the following ones: VSCode, Atom, VIM, Nano.

I have almost completed the "BASIC-NX" VSCode extension, it allows to have the syntax highlight for ".nx" extension, in addition to the possibility to directly start your own project inside VSCode by pressing CTRL + R (example: under Windows it is sufficient to copy the LowRes NX folder to: C:\LowRes NX, the default execution path will be this). I have also included the paths for macOS, Linux.

I enjoy creating the extension also for Nano Editor because with the new version 4.0 it is really useful, easy to use and already installed in the main Linux / Unix distros.

The github repository is currently private (I have to complete everything), the first version will be available for VSCode in a few days. For those interested in Nano Editor it is really very easy and fast to make extensions for this little editor so in half a full day everything is complete.

Thank you all! 😉


Timo 2019-03-25 17:33

I started one for Sublime Text, but never managed to finish it.


XenonLab 2019-03-25 20:58

The extension for Visual Studio Code is almost ready. I have to work on code to run the code, syntax highlighting works well, is well structured, and I just have to add reserved words and fix small details.

It's easier for the other editors. Sublime Text has a fairly complex system for generating extensions, I eventually see a port for Sublime Text. The important thing is to have at least syntax highlighting.

Thanks Timo.


Timo 2019-03-25 21:14 (Edited)

Have you seen this source file with all the tokens?
https://github.com/timoinutilis/lowres-nx/blob/master/core/interpreter/token.c

Or better check the development branch, there are some new ones.


XenonLab 2019-03-25 21:24

Yes, I checked the github repository well. I will also insert the new tokens.

The make file for linux is really easy, LowRes NX only uses sdl2 as a dependency and with linux I can build them (even with appimage to make the install automatic).

I study everything and then update you. Thank you very much Timo.


was8bit 2019-03-26 15:39

Cool :)


Log in to reply.