Notepad++ plugin to provide Papyrus scripting language support to Notepad++, such as syntax highlighting with automatic recognition of class names/functions/properties, keywords matching, and hyperlinks to referenced scripts. It also comes with a compiler that can provide compilation errors in a separate list window, as well as inline annotation and indication where errors are reported, plus support anonymization of compiled .pex files.
The function list doesn't seem to show functions that return arrays, such as:
Form[] Function dz_make_inventory_array(Actor NPCref)
or
String[] Function dz_make_strings_array(Form[] array,Int array_length)
When I remove the [] and save the document then the function shows up in the list.
I can't compile any script after version 0.5, compiler doesn't recognize name space (folder path) and throw a warning about script name mismatch. v0.5 works fine.
Game: Fo4.
Under keyword matcher, selecting "Thick composition underline" turns the colour selected dull in the latest version of the plugin (v1.0.0 (Build 31) ) using the latest version of Notepad++ (v8.5.4 64-bit).
What I have tested:
Both "Matched Style" and "Unmatched Style" have a dull tone when selecting "Thick composition underline".
It doesn't change when switching between light mode and dark mode in Notepad++ .
Resetting the lexar styles under advanced for this plugin doesn't fix the issue.
The colour is not dull using an older version of plugin (Papyrus Plugin = v0.3.0 (Build 24), Notepad++ v8.3.3 64-bit).
Just updated to the latest NP++ 8.3.1 (64bit) and unless I disable the Papyrus Lexer plugin (by renaming the folder) NP++ crashes on launch, occasionally it doesn't crash but then when selecting a .psc file it then crashes. When I go back to 8.2.1 all is fine
There is a comment in the NP++ forums regarding recompilation due to some change in how NP++ interfaces with plugins, is this relevant? https://community.notepad-plus-plus.org/topic/22619/notepad-8-3-1-crashes-and-closes-without-warning
Other user defined versions of Papyrus language I have found for notepad++ had more categorys of keywords (although they were not able to be configured from the style configurator of course).
It would be cool to have two or three extra user sets of keywords available in the style configurator. Personally I would like to have a different colour for SKSE/F4SE functions etc.
I tried editing the xml file but I had no joy, I read online that the lexer itself (dll) must support the keywrod categories?
Does the comment on the latest commit mean that I can now compile a script in user subfolder in FO4 without using a project file?
I could never get that to work before and gave up; just put everything in ../source:)
This is so odd that I feel like I must be doing something wrong, but the compiler simply ignores the path that I enter into the "Output Directory" field in the game settings. Instead, whatever folder name I have entered in the "Default output directory" field in the compiler settings, it creates inside the Source\Scripts folder. By default it is set to "Scripts", so when I compile, it places the compiled script in "Data\Source\Scripts\Scripts". If I clear that field the compiler simply gives out an error. This can't be by design, can it? I am compiling into a mod organizer mod folder, so maybe that's it?
EDIT: Nevermind I'm dumb, I had to put the entire filepath in the default directory field, pls ignore
When compiling a script outside data/script/source (which I do accidentally all the time comparing one script with another!) the script is still compiled but into a 'scripts' subdirectory of the location of the psc file.
I'd like to have the option to turn this off (maybe with a notification when tried as well) or to have the pex file placed into the data/scripts directory that I have already specified in the settings for the plugin.
This is with SkyrimSE .
I made changes to directories for Skyrim compiling, and after closing dialog and then restarting Notepad++, the old settings are always back.
I figured a workaround from your configuration doc file; from "%APPDATA%\Notepad++" i found Papyrus.ini and Papyrus++.ini that were actually saved with info i had changed. It's weird that they weren't actually loaded though. I copied those 2 files to "C:\Program Files\Notepad++\plugins\Config" and then they loaded.
This is on Win10-64bit, also 64-bit plugin because of that.