Banshaku wrote:
Is it possible to have 2 customs language with notepad++? I already have one that I made for my asm files and would not like to lose it.
Yes, the userDefineLang.xml file in your Notepad++ directory should look like this right now:
Code:
<NotepadPlus>
<UserLang name="your custom language" ext="">
...
</UserLang>
</NotepadPlus>
To add the other languages just paste the UserLang tags from the other file(s) you want to install like this:
Code:
<NotepadPlus>
<UserLang name="your custom language" ext="">
...
</UserLang>
<UserLang name="MML-PPMCK" ext="mml">
...
</UserLang>
<UserLang name="6502 ASM" ext="s">
...
</UserLang>
</NotepadPlus>
Better create a backup of the original file, though, don't know how Notepad++ behaves if something goes wrong.
Banshaku wrote:
I made one with Tokumaru that support ca65 and other assemblers (nesasm I think and other one, asm6?) . I tried to focus on making calm color for the eye so it look like
this. I don't remember if I posted it on nesdev or not. I could always post it if anybody interested. (argg, we are stealing his thread.. Sorry!).
I see what you mean by calm colors, looks neat.
Hmm, since there seems to be more "demand" for syntax highlighters for other editors... maybe our posts could be moved to a separate thread where everyone can post their language files. Or just continue with (or rename) this thread if it's fine with the original poster.
Banshaku wrote:
@Miau: I like what you did for the branche instructions. that's a nice idea, didn't think about that.
Other languages allow for easy highlighting of control structures (if, else, while, etc). This is somewhat similar and makes recognizing the code structure a bit easier. I think I couldn't do without it anymore
Needless to say, feel free to modify or merge anything with your own language files if you find mine useful.