Notepad++ Setup

From the CreationKit Wiki
Revision as of 03:29, 21 January 2012 by imported>Cipscis (Added missing character from previous edit)
Jump to navigation Jump to search
200px Alert image.png TAKE NOTICE!

This article has been flagged as incomplete or inaccurate. Take any information here with a grain of salt.

Help out! If you have the knowledge needed, please edit this article so we can remove the Incomplete flag.

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

  1. Open Notepad++
  2. Hit F5 (run)
  3. 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.
  4. Select Save
  5. Name it something useful like “Compile”
  6. 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

  1. Download this file: Papyrus Language Definitions
  2. Install the papyrus.xml file by placing it in your Notepad++\plugins\APIs directory (for example, C:\Program Files (x86)\Notepad++\plugins\APIs)