CWTools is a specialized, open-source static code analysis tool and text-editor extension designed for validating, parsing, and editing Paradox Interactive script files (PDXScript). Used by game modders for titles like Stellaris, Hearts of Iron IV, Crusader Kings III, and Europa Universalis IV, it functions as a local development language server within Visual Studio Code (VS Code) to catch syntax bugs before launching the game.
Here is a step-by-step tutorial to get started with CWTools for modding. Prerequisites
Before configuring CWTools, you must have the base software installed on your system:
Download and install the free code editor Visual Studio Code.
Ensure your Paradox game of choice is installed via Steam or the Paradox Launcher. Step 1: Install the Extensions
You need to add the language tools directly into your editor environment. Open Visual Studio Code.
Navigate to the Extensions view on the sidebar or press Ctrl+Shift+X (Cmd+Shift+X on Mac). Search the marketplace bar for CWTools. Click Install on CWTools – Paradox Language Services.
For complete code coloring, search for and install Paradox Syntax Highlighting as well. Restart VS Code to initialize the backend services. Step 2: Open Your Mod Project Folder
Unlike simpler text editors that open lone documents, VS Code must look at your mod folder as an entire active workspace.
Brief Introduction to Modding (Useful Tools, Beginners Guide)
Leave a Reply