Writing Not eXactly C code in Notepad++
@muntoo has written a great post about syntax highlighting NXC code in Notepad++. While his method works rather well, it involves sacrificing the C language, and adding NXC-specific keywords. This method used to work best due to the lack of support for user-defined languages in older versions of Notepad++.
Since version 6.2, Notepad++ has improved support for User Defined Languages. I have utilized this support to create a special user defined language file, which you can import into Notepad++ in order to add Not eXactly C as one of the avalible languages.
- Download a zip of the master branch to your computer
- Launch Notepad++
- Select Language > Define your language…
- Click the Import… button and choose the
userDefineLang_Not_eXactly_C.xmlfile from inside the zip you downloaded earlier
- Open a
.nxcfile, or select Not eXactly C from the Language menu to enable syntax highlighting