8
edits
Line 29: | Line 29: | ||
The best way to integrate any compiler into Notepad++ is to use the NppExec plugin. Your compile output will appear in a window in Notepad++, you can easily copy-paste from it, it will be in color, and you can double-click on any error and it will jump you right to the line and column with the error in the editor. So, it will work like many modern IDEs do when working with compilation and errors. | The best way to integrate any compiler into Notepad++ is to use the NppExec plugin. Your compile output will appear in a window in Notepad++, you can easily copy-paste from it, it will be in color, and you can double-click on any error and it will jump you right to the line and column with the error in the editor. So, it will work like many modern IDEs do when working with compilation and errors. | ||
The best way to use Notepad++ plugins is to to use the Plugin Manager. Unfortunately, as of Notepad++ version 7.5 and later the Plugin Manager was not shipped as part of the default plugins. At that time Notepad++ added an 64-bit build, and the Plugin Manager and many other plugins were not available for x64, so they removed it. However, that problem has since been fixed, and the Plugin Manager and many of the plugins now have x64 versions. | The best way to use Notepad++ plugins is to to use the Plugin Manager. Unfortunately, as of Notepad++ version 7.5 and later the Plugin Manager was not shipped as part of the default plugins. At that time Notepad++ added an 64-bit build, and the Plugin Manager and many other plugins were not available for x64, so they removed it. However, that problem has since been fixed, and the Plugin Manager and many of the plugins now have x64 versions. In order to check if you have the 32-bit or 64-bit version installed, open Notepad++ and press "F1". If it shows (32-bit) you should uninstall that and install the 64-bit version. You can download the latest version here: https://notepad-plus-plus.org/downloads/ . The latest version as of this writing is 8.7.1 | ||
Then download and install the [https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.9 Plugin Manager]. The latest version of of this writing is version 1.4.9. Just download the PluginManager_v1.4.9_x64.zip, and unzip it to your C:\Program Files\Notepad++. It will add one file to the plugins directory, and one file to the updater directory. | Then download and install the [https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.9 Plugin Manager]. The latest version of of this writing is version 1.4.9. Just download the PluginManager_v1.4.9_x64.zip, and unzip it to your C:\Program Files\Notepad++. It will add one file to the plugins directory, and one file to the updater directory. | ||
Then, launch Notepad++ and go to the | Then, launch Notepad++ and go to the Plugins->Plugins Admin... . Under the 'Available' tab find NppExec in the list and select the checkbox next to it and select Install. The latest version as of this writing was 0.9. (0.8.8. installed). You may need to restart Notepad++ for the Plugin to take effect. | ||
Now, select Plugins->NppExec->Execute... or press F6. Type the following into the execute dialog box, and press Save... and save it with the name "Papyrus Compiler (Debug)". NOTE: you can also add (Release) and (Release Final) versions of this exec too by adding the -r -op and -r -op -final to the end of the last command. Adjust any of the paths here to your preference, this is for Fallout 4 in the default install location with all the DLC, and working on scripts out of the Data\Scripts\Source\User directory. NOTE: this does not require any changes to the ScriptCompile.bat file (or the others), since they is not used. This invokes the compiler directly. | Now, select Plugins->NppExec->Execute... or press F6. Type the following into the execute dialog box, and press Save... and save it with the name "Papyrus Compiler (Debug)". NOTE: you can also add (Release) and (Release Final) versions of this exec too by adding the -r -op and -r -op -final to the end of the last command. Adjust any of the paths here to your preference, this is for Fallout 4 in the default install location with all the DLC, and working on scripts out of the Data\Scripts\Source\User directory. NOTE: this does not require any changes to the ScriptCompile.bat file (or the others), since they is not used. This invokes the compiler directly. | ||
Line 81: | Line 81: | ||
%FILE%(%LINE%,%CHAR%)* select color red | %FILE%(%LINE%,%CHAR%)* select color red | ||
Compiling "*"* select color blue | Compiling "*"* select color blue | ||
No output generated for* select color red | select | No output generated for* select color dark red | select bold | ||
Compilation succeeded. select color green | Compilation succeeded. select color green | ||
</source>Toggle the checkbox in front of each line to activate each filter. | </source>Toggle the checkbox in front of each line to activate each filter. |
edits