-
Notifications
You must be signed in to change notification settings - Fork 18
Configurations
The extension will first look for your games in their default install directories. If not found, it will then attempt to find installation directories by reading the Windows registry.
You can manually specify a custom install directory using the installPath
setting.
By default, the global Papyrus configurations will be read from the Creation Kit's initialization file (ini). These Creation Kit ini settings will be used unless otherwise provided with a Papyrus Project file (ppj).
Read more about the Papyrus ini settings for Fallout 4 and Skyrim on the Creation Kit website.
The following settings and configurations are supported for each game.
These settings apply to Skyrim. Each game has similar settings with slight variations.
- sScriptSourceFolder: The papyrus source file directory. These scripts will be compiled.
- sScriptCompiledFolder: The output directory for compiled Papyrus scripts.
- sCompilerFolder: The directory path to the Papyrus compiler.
[Papyrus]
sScriptSourceFolder = "Data\Scripts\Source"
sScriptCompiledFolder = "Data\Scripts\"
sCompilerFolder = "Papyrus Compiler\"
These settings are for configuring Skyrim with the Papyrus Language extension.
Enables or disables the Skyrim Papyrus language features.
-
Default:
true
The Skyrim install directory to use.
-
Default:
C:\Program Files (x86)\Steam\steamapps\common\Skyrim\
The Creation Kit initialization files to use.
-
Default:
SkyrimEditor.ini
These settings apply to Skyrim Special Edition. Each game has similar settings with slight variations.
- sScriptSourceFolder: The papyrus source file directory. These scripts will be compiled.
- sCompilerFolder: The directory path to the Papyrus compiler.
- sScriptCompiledFolder: The output directory for compiled Papyrus scripts.
[Papyrus]
These settings are for configuring Skyrim Special Edition with the Papyrus Language extension.
Enables or disables the Skyrim SE Papyrus language features.
-
Default:
true
The Skyrim SE install directory to use.
-
Default:
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\
The Creation Kit initialization files to use.
-
Default:
CreationKit.ini
,CreationKitCustom.ini
Disables the debugger's xSE plugin version update prompt. Makes it so you don't get prompted about a new version of the debugger plugin before you attach.
-
Default:
false
These settings apply to Fallout 4. Each game has similar settings with slight variations.
A Papyrus Project file (ppj) can be used to specify compiler configurations for individual projects. Read more about Papyrus Projects on the Creation Kit website.
- sScriptSourceFolder: The current project's papyrus import folder. These scripts will be compiled.
- sAdditionalImports: A semicolon delimited list of additional papyrus import folders.
- sCompilerFolder: The directory path to the Papyrus compiler. There is almost no reason to change this as the compiler installs to this folder by default.
- sScriptCompiledFolder: The output directory for compiled Papyrus scripts.
[Papyrus]
sScriptSourceFolder =.\Data\Scripts\Source\User\
sAdditionalImports = "$(source);.\Data\Scripts\Source\Base"
sCompilerFolder =
sScriptCompiledFolder =
These settings are for configuring Fallout 4 with the Papyrus Language extension.
Enables or disables the Fallout 4 Papyrus language features.
-
Default:
true
The Fallout 4 install directory to use.
-
Default:
C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\
The Creation Kit initialization files to use.
-
Default:
CreationKit.ini
,CreationKitCustom.ini
Enables or disables the Fallout 4 Papyrus debugger features.
-
Default:
false
VS Code provides many options for configuring the editor. Read more about customizing VS Code in the topics below.
Extension
Features
- Language Definition
- IntelliSense
- Code Navigation
- Refactoring
- Compilation
-
Debugging
- Debug View
- [Debug Console](Debug Console)
- [Assembly View](Assembly View)
Creation Engine
Language
Help