Difference between revisions of "Notepad++ Setup"
Jump to navigation
Jump to search
no edit summary
imported>Cipscis |
imported>PROXiCiDE |
||
Line 77: | Line 77: | ||
If you are creating your own script from scratch, you'll need to select the language manually. "Papyrus" should be available near the bottom of the Language menu in Notepad++. | If you are creating your own script from scratch, you'll need to select the language manually. "Papyrus" should be available near the bottom of the Language menu in Notepad++. | ||
===Dark Syntax Highlighting=== | |||
If the above is too bright for your eyes then you can try a darker approach which can be found here [[User:PROXiCiDE/Notepad%2B%2B_Dark.xml]] | |||
===Papyrus Source code Beautifier=== | |||
<ol> | |||
<li>Can be found here [[User:PROXiCiDE/SkyIndent.lua]] | |||
<li>This script requires LUA to be installed for it to work http://www.lua.org/download.html</li> | |||
<li>To get this to work with Notepad++ just press F5 then type</li> | |||
<li>Copy & Paste the following below in the RUN box</li> | |||
<div style="overflow-x: scroll;"><source lang="xml"> | |||
lua "[install path]\skyindent.lua" -b "$(FULL_CURRENT_PATH)" | |||
</source> | |||
</div> | |||
<li>'''[install path]''' is the directory where you placed the SkyIndent.lua example "C:\SkyIndent\"</li> | |||
<li>Select Save</li> | |||
<li>Name it: <b>SkyIndent</b></li> | |||
<li>Select a keyboard shortcut example: <b>CTRL+F6</b></li> | |||
<pre> | |||
Usage skyindent.lua [options] [script.psc] | |||
Available options are: | |||
-s[number] Spacing to indent | |||
-b Backup the Papyrus Script | |||
</pre> | |||
</ol> |