This is the syntax highlighter for rAthena npc scripting language that is intended to be used with Notepad++ app.
Currently it covers the script commands and constants.
How to add the syntax highligher to Notepad++ ?
-
Clone or download the repo
-
Open your Notepad++ and go to the Language --> Define your language... --> Import --> Select file 'Notepadpp-rAthena-syntax-highlight.xml'
-
Restart your Notepad++
If you get multiple 'rAthena' on your Language menu, you can go to Language --> Define your language... --> Select the duplicated one --> Remove --> Yes.
If you see improper color/all black, reselect the 'rAthena' language again.
How to change the theme: (These steps are optional)
-
Open up your file explorer and go to "C:\Users*Your Username*\AppData\Roaming\Notepad++"
-
Make backup of your 'styler.xml' and replace with the one from the repo
-
Restart your Notepad++
How to turn on the Auto Completion feature:
-
Go to Settings --> Preferences --> Auto-Completion
-
Enable the tickbox "Enable auto-completion on each input"
-
Select "Function and word completion"
-
Specify 3 on the "From x th character" (Adjust the value to your liking)
-
Enable "Function parameters hint on input"
Sources:
Links:
Happy editing~ 🍕 ☕