Notepad++ Setup
Revision as of 03:29, 21 January 2012 by imported>Cipscis (Added missing character from previous edit)
Notepad++ is a freeware text editor that can be used to edit and compile Papyrus scripts. It can be downloaded from the official Notepad++ site. Notepad++ supports user-defined syntax highlighting autocomplete, folding, and can be set up to quickly compile Papyrus scripts, making it a more robust option than using the basic in-editor text editor.
Setting up a quick compile
- Open Notepad++
- Hit F5 (run)
- Paste the line: "C:\Program Files (x86)\Steam\steamapps\common\skyrim\Papyrus compiler\ScriptCompile.bat" $(FILE_NAME)
- NOTE: Inside the quotes, paste in the equivalent path on your PC while points to that ScriptCompile.bat file.
- Select Save
- Name it something useful like “Compile”
- Set up a keyboard shortcut if you want, such as CTRL+F5.
- You can find the new shortcut under the Run menu option, or just use the keyboard shortcut.
- You can change the keyboard shortcut under Settings -> Shortcut Mapper -> Run Tab
- This will compile the script you are currently tabbed to while in notepad++.
Setting up Papyrus Language Definitions
- Download this file: Papyrus Language Definitions
- Install the papyrus.xml file by placing it in your Notepad++\plugins\APIs directory (for example, C:\Program Files (x86)\Notepad++\plugins\APIs)