Collaboration

Extensions for the main code editors.

3

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 :)


nathanielbabiak 2019-12-25 03:17

I'm getting a bit overwhelmed trying to use LowRes NX on the iPad - did any of you (or anyone else) ever get something put together that works on Windows? I'm only familiar with Notepad++, but I'd be happy to try something else


was8bit 2019-12-25 05:44

I always use my ipad with no issues.. what are your issues??


nathanielbabiak 2019-12-25 17:48

Pxl Library 2.0 is ~40 subprograms, and it's just kind of difficult to scroll between them to jump back and forth when working on them


Timo 2019-12-25 20:27

Are you using the quick scroll bar at the right side? It's not as fast as Cmd+Click on a function name, but better than normal scrolling.

Anyway, here is my unfinished syntax file for Sublime Text: https://github.com/timoinutilis/lowres-nx/tree/master/extras

Of course you can use any editor, I mean not even the app's editor has highlighting.


was8bit 2019-12-25 23:52 (Edited)

I understand... quickbasic seperated the SUBS via tabs at the top... each SUB has its own page...

TIMO is correct that the thin green line on the right of the code will let you quickly jump to different parts of your code...


Log in to reply.