-
Notifications
You must be signed in to change notification settings - Fork 18
Home
You can now write mods for Fallout 4 and Skyrim with the aid of modern code editing features such as intellisense, jump to definition, symbol search, and live updated diagnostics.
If your question is not covered here then consider visiting the Issue Tracker or join us on Discord.
- Install the Creation Kit for a supported game.
- After installation, the extension will automatically detect your game installation directories by reading the windows registry.
- Open the folder containing your project. Note that the extension requires a directory workspace.
- Optionally, customize Configurations for the Papyrus Language extension.
The Papyrus Language extension has flexible requirements. See also the Questions page.
- Have a supported game installed.
- Have the Creation Kit installed and
Base
scripts extracted. - Have VS Code and the Papyrus Language extension installed.
- Optionally have xSE installed for debugger support.
This extension supports several advanced features that developers are accustomed to in other language IDEs.
Feature | Skyrim | Skyrim SE | Fallout 4 |
---|---|---|---|
Language Definition | Yes | Yes | Yes |
Static Analysis | Yes | Yes | Yes |
Intellisense | Yes | Yes | Yes |
Refactoring | Yes | Yes | Yes |
Compilation | No | No | No |
Debugging | No | No | Yes |
These are all the settings provided by the Papyrus Language extension. Read more about using VS Code Settings.
- papyrus.skyrim.enabled
- papyrus.skyrim.installPath
- papyrus.skyrim.creationKitIniFiles
- papyrus.skyrimSpecialEdition.enabled
- papyrus.skyrimSpecialEdition.installPath
- papyrus.skyrimSpecialEdition.creationKitIniFiles
- papyrus.skyrimSpecialEdition.ignoreDebuggerVersion
- papyrus.fallout4.enabled
- papyrus.fallout4.installPath
- papyrus.fallout4.creationKitIniFiles
- papyrus.fallout4.ignoreDebuggerVersion
These are all the commands provided by the Papyrus Language extension. Read more about using commands with the VS Code Command Palette.
Extension
Features
- Language Definition
- IntelliSense
- Code Navigation
- Refactoring
- Compilation
-
Debugging
- Debug View
- [Debug Console](Debug Console)
- [Assembly View](Assembly View)
Creation Engine
Language
Help