Jump to content

Now is a good time to try out VSCode and the papyrus extension if you haven't already! Now with PPJ build support for Skyrim LE/SE.


nimrodxy

Recommended Posts

We just got done adding PPJ build support and guided assistance to the extension. So this is "now easier to use than ever" as the people on TV commercials like to say.

All you have to do to try it out is:

  1. Download and install https://code.visualstudio.com/ then run it.
  2. Click the extension icon on the left (looks like four squares with a square coming loose) and type @joelday into the search panel.
  3. Click install on the papyrus extension.
  4. Click the new icon on the left that looks like a scroll.
  5. Follow the instructions that appear.

 

It's now possible to build your Skyrim projects (LE or SE) using PPJ files. Don't worry the getting started process will explain it. PPJ files are automatically detected and provide build tasks without any additional configuration. PPJ is all you need.

Everything is supported for everything except that there's no real-time debugging for Skyrim LE (Classic, Oldrim).

Features:

  • Code completion (tab)
  • IntelliSense tooltips for some in-editor docuentation
  • 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)

And we shall not stop there.... we're still working on making it better!

Edited by nimrodxy
Link to comment
Share on other sites

Hmm, I'm not getting any instructions appearing and any command that I try isn't found.

Did you click the scroll icon on the left? There's currently no way to make an extension "activate" immediately on install.... You have to do something to trigger it. Showing the Papyrus view by clicking the icon should be sufficient. Something like opening a pyc file would also do it.

 

The reason for this has to do with keeping all the unneeded extensions "asleep" when you're not doing anything that involves those extensions. So like if you were working on C++ you wouldn't want the Python extension slowing everything down. (This is a problem with Atom which is slow as hell to load because of stuff like this.) Similarly you wouldn't want the Papyrus extension to activate if you were editing a web site or something.

 

But there should be a way to trigger the extension when it first gets installed and extension developers have filed an issue with the vscode developers to get some sort of capability like this. Until then one of the "activation conditions" has to be met which is usually a good thing because it keeps the other large number of extensions from slowing everything down.

 

If you need help check out the Discord Server

 

Edit: Actually it turned out to be a bug. Workaround: Open any folder (you just need to have a folder open) with FIle->Open Folder... (temporary workaround for a tricky bug)

Edited by nimrodxy
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...