Provides Syntax Highlighting and Auto-Completion functions for Nintendo 64 C. For use with Notepad++.
If you are unsure of your Notepad++ version, simply Launch the program and go to ? -> About Notepad++ (Shortcut F1)
Notepad++ 7.7 or higher
- Download this repository
- From the downloaded repository, open the APIs folder, copy the
C (N64).xml
, and paste it into theautoCompletion
folder inside the Notepad++ install folder (for exampleC:/Program Files/Notepad++/
). - Launch Notepad++
- Click Language -> User Defined Language -> Define your language...
- Click Import...
- Go to the
UDL
folder inside the downloaded repository, and import the.xml
file. It should say "import successful". You might need to restart Notepad++. - Open a Nintendo 64 C source file
- Click Language -> C (N64). Since it is a UDL, it should be at the bottom.
- Click on Settings -> Preferences -> Auto-Completion, enable both Auto-Completion and Function parameters hints
Notepad++ 7.6
- Download this repository
- Go to your Notepad++ install folder (for example
C:/Program Files/Notepad++/
) - Place the APIs folder inside the
Notepad++/plugins
folder - Go to
C:/ProgramData/Notepad++/plugins
and create a new folder called N64C and place the .dll in there. Then go toC:/Users/YOURUSERNAME/AppData/Roaming/Notepad++/plugins/
and place the config folder in here, overwriting if necessary. - Launch Notepad++
- Open a Nintendo 64 C source file
- Click Language -> C (N64)
- Click on Settings -> Preferences -> Auto-Completion, enable both Auto-Completion and Function parameters hints
Notepad++ 7.5 or lower
- Download this repository
- Go to your Notepad++ install folder (for example
C:/Program Files/Notepad++/
) - Place the APIs folder inside the
Notepad++/plugins
folder - Place the .dll and Config folder in here as well.
- Launch Notepad++
- Open a Nintendo 64 C source file
- Click language -> C (N64)
- Click on Settings -> Preferences -> Auto-Completion, enable both Auto-Completion and Function parameters hints
Notepad++ 7.7 or higher
Highlighting - Language -> User Defined Language -> Define your language..., select C (N64)
from the dropdown, and modify to your liking. Alternatively, go to C:/Users/YOURUSERNAME/AppData/Roaming/Notepad++/
and modify userDefineLang.xml
. Alternatively, manually edit the XML file and re-import it (make sure you remove the old one first or you'll have duplicate entries).
Autocompletion - Edit the XML file inside the Notepad++/autoCompletion
folder
Notepad++ 7.6 or lower
Highlighting - Settings -> Style Configurator -> C (N64), or edit the XML file inside the config folder.
Autocompletion - Edit the XML file inside the Notepad++/plugins/APIs
folder
- Download and install a copy of Visual Studio 2008.
- Download a copy of Notepad++ 5.8's source code.
- Place the NP++ Source code in a folder.
- Place this syntax highlighter's source code in the same folder so it is next to the PowerEditor and Scintilla folders.
- Rename the sourcecode folder to N64C
- Open the project in Visual Studio 8.
- Ensure that you are compiling as "Unicode Release".
- Compile Scintilla, then compile PowerEditor, then compile this syntax highlighter.
Notepad++ 7.7 or higher
- Comment Doc highlighting is not supported
Notepad++ 7.6 or lower
- #if and #end macros will not have code folding if there is a space between the hastag and first character (example, # if)
- The F in a floating point number is not highlighted (example, 10.0F). L is also not highlighted.
Please notify me about missing functions so that I can add them to the XML file.
Q: Function 'X' is missing or has something wrong.
A: You can correct it by editing the XML file, but please contact me too so I can correct it for everyone else!
Q: Can you make this for "Editor Name Here"?
A: I don't use "Editor Name Here" so I can't help much, however given how easy it is to open the XML file there's nothing stopping you from grabbing all the function names and adding them yourself
Kyle Fleming (aka Garthex) for the original plugin.