Page 1 of 1

External Editor & Syntax Highlighting

Posted: Fri Jun 16, 2017 9:29 pm
by martinvicanek
Hi gang,
when I develop longer code I sometimes use an external editor (notepad++) and copy&paste the code into FS code box at the end. However, I am missing FS' syntax highlighting in the external editor. I was wondering if anybody has written a "FS style syntax highlighting" config file, preferably for notepad++? Both code and asm styles would be very welcome. Thanks.

Re: External Editor & Syntax Highlighting

Posted: Sat Jun 17, 2017 2:17 pm
by tulamide
I have not, but you can do it quite simple.

(1) Select Ruby as language, then from the menus select Settings>>Style Configurator. In the language column select Ruby, then in the Style column everything you want to change. You can even add new keywords under INSTRUCTIONS.

(2) You can even define your very own language. Select a typical FS-Ruby file, then from the menus select Language>>User-Defined. Now select Language>>Define your language..., and click on the button named "Dock". And now have fun :D

Here's a screenshot showing (2): https://prntscr.com/fkv6yg

Re: External Editor & Syntax Highlighting

Posted: Sat Jun 17, 2017 4:45 pm
by martinvicanek
Thanks, Tulamide! Selfish me was hoping that some other nice person had already done the work. :mrgreen: