Repository navigation
Releases: Kiyozz/papyrus-tools
Releases · Kiyozz/papyrus-tools
Release list
v0.16.3
v0.16.2
Patch Changes
- f09c88c: The extension is shown as "Papyrus Toolchain": "Papyrus" is already taken on the Visual Studio Marketplace.
v0.16.1
Patch Changes
- dbaf8d8: The extension is now
kiyozz.papyrus-toolchain:papyrus-toolsis already taken on the Visual Studio Marketplace.
v0.16.0
Minor Changes
- c970e22:
sourcesinpapyrus.toml, and theImportsandFoldersof a.ppj, give the folders above the namespaces:PAP021then reportsScriptName StrayinSource/MyMod/Stray.psc, and a script out of its folder no longer moves the root ofpapyrus buildfor the others. - b14fc8e: The extension is ready for the Visual Studio Marketplace and Open VSX: an icon, the changelog on its page, and a universal package, without the binary, for the platforms not built.
v0.15.0
Minor Changes
- 9354135:
.ppjprojects, the Creation Kit's and Pyro's: read as a configuration in a folder withoutpapyrus.toml, or named byppjin it;papyrus initadopts them with--ppjwhen a folder has several;buildcompiles a partial list script by script. - 9354135:
.pexfiles read:papyrus disassembleprints a compiled script of Skyrim, Fallout 4, Fallout 76 or Starfield as assembly, in the format ofPapyrusAssembler; the VSCode extension opens.pexfiles as read-only assembly, refreshed when they are compiled again. - 9354135:
papyrus build Source/MyScript.psccompiles that script alone, where it compiled its whole folder, the folders of the project staying available for what it uses. In VSCode, Papyrus: Compile this script, also in the context menu of the explorer, saves and compiles the open or selected scripts of a project with apapyrus.toml.
Patch Changes
- 9354135:
PAP021also reports a namespace whose folder is missing,ScriptName MyMod:StrayinSource/Stray.psc, which the compiler refuses.
v0.13.0
Minor Changes
- c15d04f:
papyrus init,papyrus explain,--stdinoncheckandfmt,--message-format jsonandsarif, a baseline for older mods; in the editor, a script renamed with its file and the reverse, namespaces following folders, range formatting, type hierarchy, quick fixes and--fixrenaming a name against the convention and removing what does nothing, recursion shown as hints and lenses;PAP041 calls/infinite-recursion.
v0.12.0
Minor Changes
- 885fbd1:
PAP021toPAP033, what the compilers of Skyrim, Fallout 4 and Starfield refuse, each case checked against the official compilers:ScriptNameother than the file's name, anextendscycle, members declared twice,Returnwith or without a value against the declaration, overrides whose parameters, defaults or return type differ — defaults compared as written,Falseis notfalse, with the parent's as a fix —, functions only a state declares, the shape of property accessors, array sizes, assignments to a call or.Length, initial values that are not literals, and the Fallout 4 and Starfield rules (default order,Nativefunctions, integer range, native overrides in Starfield).PAP007also reports casts, comparisons and arithmetic between unrelated types, and the value of a call that returns nothing.Import MyNs:Helpernow letsHelpername the script. - 885fbd1:
PAP034toPAP040, modders' habits, as warnings:RegisterForUpdateandRegisterForUpdateGameTime(with theirSingleversion as a fix),Game.GetPlayer()in a loop, a boolean compared withTrueorFalse(with the simpler form), a value assigned or compared to itself, script variables never read, unusedImports. - 885fbd1:
papyrus fmtsets functions, events, states, structs, groups and full properties apart with a blank line, drops the parentheses around a wholeIf,ElseIforWhilecondition, and writes keywords in PascalCase (EndFunction) withkeywords = "pascal"in the[fmt]section ofpapyrus.toml.
v0.11.1
Patch Changes
- 3afc103:
papyrus fmtkeeps the case ofTrue,FalseandNonein a parameter's default value. The compilers of the three games compare it as text with the default of the overridden function — the parent's, or the empty state's —, so lowercasingFalsebroke the compilation of a script overriding one that writesFalse, as many vanilla scripts do.
v0.11.0
Minor Changes
- c7e4ee2: Integration tests of the VSCode extension with
@vscode/test-cli, run in CI underxvfb-run: activation on a.psc, a diagnostic from the server, thebuildandchecktasks with their problems, and "Create papyrus.toml".
v0.10.0
Minor Changes
- 6c3c223: The TextMate grammar is tested in CI with
vscode-tmgrammar-test, on annotated.pscfiles that give the scope expected on each token. Fixed on the way: a variable declared with a primitive type (Int count,Float x = 0.0, a parameterInt aiCount) now has its name highlighted;EndProperty,EndState,EndStructandEndGroupcarry the scope of their opening keyword; quotes and comment delimiters carry their punctuation scope.