VSCode Skyrim SE Papyrus Project Template
-
Endorsements
-
Unique DLs--
-
Total DLs--
-
Total views--
-
Version0.4
About this mod
Guide for the text editor VSCode that allows you to use VSCode with Mod Organizer 2 and Joel Day's Papyrus extension (syntax highlighting, completion etc.) to compile your Papyrus scripts with a simple Shift-Ctrl-B. Also includes an error recognizer for jump-to-error functionality, and instructions on installing debug support.
- Requirements
- Permissions and credits
- Changelogs
Installing The VSCode Papyrus Extension
This template is now obsolete! Please see the papyrus-lang wiki documentation:
- Download VSCode if you haven't already, then type
@joelday
in the extension search box and install!- When you first install the extension you will get a quickstart/welcome doc that appears in the editor.
- For using with MO2 see Using Mod Organizer 2 with the VS Code Papyrus Extension
Features:
- Code completion (tab)
- IntelliSense tooltips for some in-editor documentation
- Syntax highlighting (of course)
- Real-Time error checking (linting) as you type
- Jump to definition
- Autodetected Build Tasks
- PPJ File Support thanks to fireundubh's Pyro tool.
- Real-Time Debugging of script execution! (for FO4 and SSE)
Known Issues
There is a usVFS problem in MO2 2.2.1 that can cause CK to fail to create/update/compile scripts. (This is unrelated to VSCode and affects any running CK under MO2.) It should be fixed in 2.2.2 when it is released. Until then ask on the MO2 Discord for a patch or just download the alpha build of 2.2.2 using the link provided there.
Questions/Help
If you need help with MO2 then try the MO2 Discord. If you need help with VSCode config then feel free to ping me on there @NimrodX. There is also a discord for the Papyrus VSCode extension.
Thanks
Thanks goes out to Joel Day and all contributors for the nice Papyrus extension for VSCode and the whole Mod Organizer 2 team for the excellent features of MO2!