8
edits
Line 77: | Line 77: | ||
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%)* | %FILE%(%LINE%,%CHAR%)* select color red | ||
Compiling "*"* | Compiling "*"* select color blue | ||
No output generated for* | No output generated for* select color red | select italic and bold | ||
Compilation succeeded. | 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: |
edits