Difference between revisions of "Notepad++ Setup"

Jump to navigation Jump to search
m
Line 77: Line 77:




The select Plugins->NppExec->Console Output Filters... and set them up with these values as a place to start, then customize to your liking:
Then select Plugins->NppExec->Console Output Filters... and under the Highlight tab add these values as a place to start, then customize to your liking:
<source lang="text">
<source lang="text">
%FILE%(%LINE%,%CHAR%)* 0xC0 0x00 0x00
%FILE%(%LINE%,%CHAR%)*                             select color red     
Compiling "*"* 0x00 0x00 0xC0
Compiling "*"*                                     select color blue
No output generated for* 0xA0 0x00 0x00
No output generated for*                           select color red    | select italic and bold
Compilation succeeded. 0x00 0xA0 0x00
Compilation succeeded.                             select color green
</source>And finally, setup the menu item and keyboard shortcut: Plugins->NppExec->Advanced Options... and find the Menu Item section (bottom left of the dialog), give the Menu Item a name "Papyrus Compiler (Debug)" and select the script "Papyrus Compiler (Debug)". Click Add/Modify and it will tell you to restart Notepad++ for the change to take effect, so do that. Now you will have a new menu item Plugins->NppExec->Papyrus Compiler (Debug). To bind a shortcut key to that, go to Settings->Shortcut Mapper...->Plugin Commands->Papyrus Compiler (Debug) and select a shortcut. I use Ctrl-F9 since I've been doing a lot of xEdit Scripting in Object Pascal using Delphi, and that's Delphi's default compile key. But use whatever key you'd like, Notepad++ will tell you if there is a conflict.
</source>Toggle the checkbox in front of each line to activate each filter.
 
 
And finally, setup the menu item and keyboard shortcut: Plugins->NppExec->Advanced Options... and find the Menu Item section (bottom left of the dialog), give the Menu Item a name "Papyrus Compiler (Debug)" and select the script "Papyrus Compiler (Debug)". Click Add/Modify and it will tell you to restart Notepad++ for the change to take effect, so do that. Now you will have a new menu item Plugins->NppExec->Papyrus Compiler (Debug). To bind a shortcut key to that, go to Settings->Shortcut Mapper...->Plugin Commands->Papyrus Compiler (Debug) and select a shortcut. I use Ctrl-F9 since I've been doing a lot of xEdit Scripting in Object Pascal using Delphi, and that's Delphi's default compile key. But use whatever key you'd like, Notepad++ will tell you if there is a conflict.


In the end, it should look like this:
In the end, it should look like this:
8

edits

Navigation menu