Skip to content

nanakiwurtz/rAthena-syntax-highlight

 
 

Repository files navigation

rAthena-syntax-highlight

Project Status: Project Status

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++ ?

  1. Clone or download the repo

  2. Open your Notepad++ and go to the Language --> Define your language... --> Import --> Select file 'Notepadpp-rAthena-syntax-highlight.xml'

  3. 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)

  1. Open up your file explorer and go to "C:\Users*Your Username*\AppData\Roaming\Notepad++"

  2. Make backup of your 'styler.xml' and replace with the one from the repo

  3. Restart your Notepad++

How to turn on the Auto Completion feature:

  1. Go to Settings --> Preferences --> Auto-Completion

  2. Enable the tickbox "Enable auto-completion on each input"

  3. Select "Function and word completion"

  4. Specify 3 on the "From x th character" (Adjust the value to your liking)

  5. Enable "Function parameters hint on input"

Sources:

🔹 script_commands.txt

🔹 const.txt

Links:

▶️ rAthena Forum

▶️ rAthena Repository

▶️ Notepad++

▶️ Original Repository

Happy editing~ 🍕 ☕

About

rAthena syntax highlight for notepad++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published