cwtools / cwtools-vscode

A VS Code extension providing language server support for paradox script files using cwtools
Other
88 stars 12 forks source link

CWTools: Paradox Language Services

Paradox Language Features for Visual Studio Code

Disclaimer

This extension is still in preview, it may not work, it may stop working at any time. Make backups of your mod files.

Supported games

Features

Completion

Completion

Tooltips

Tooltips

Scope tooltips

Scope tooltips

Scope errors

Scope

Localisation error

Localisation error

Go to definition

Go to definition

Find all references

Find all references

Usage

  1. Install this extension
  2. If on linux, possibly follow these instructions
  3. If on linux, install libcurl3
  4. Either open your mod folder directly
  5. or open the Game folder containing your mods. E.g. for Stellaris this can be one of:

    • "C:\Users\name\Paradox Interactive\Stellaris"
    • "C:\Program Files(x86)\Steam\steamapps\common\Stellaris"

    or on linux

    • "/home/name/.local/share/Paradox Interactive/Stellars"
    • "/home/name/.steam/steam/steamapps/common/Stellaris"
  6. Follow the prompts to select your vanilla folder
  7. Edit files and watch syntax errors show up when you make mistakes
  8. Wait up to a minute for the extension to scan all your mods and find all errors

Links