CK3 SyntaxSyntax highlighting for Crusader Kings III scripts, GUI files and localization, with script formatting and semantic parameter highlighting. Requires VS Code 1.107 or newer. Features
Opening ModsOpen your CK3 installation or mod folder in VS Code. Script and resource files are detected in recognized CK3 projects. Localization files such as Use Change Language Mode to select CK3 Script or CK3 Localization manually when needed. Supported CK3 resources include Localization
Numbers and separators in the color header have their own scopes. The text after the header keeps normal localization highlighting, including FormattingUse Format Document, Format Selection, or Format CK3 Scripts in script files. The formatter follows your indentation settings and preserves quoted text, comments and line endings. Semantic HighlightingParameters in scripted CK3 calls are highlighted using definitions from your project. To include vanilla and dependent-mod definitions, configure these options in the extension's VS Code settings:
External game/mod indexing requires a trusted workspace. Highlighting updates as definitions and mod files change. DevelopmentUse Node.js 24 and pnpm 11.25.0:
Edit grammar rules and keyword lists under Optional tests in an isolated VS Code profile:
The project test accepts a mod folder containing To update keyword data from a Tiger source checkout:
Sources And LicensingSee NOTICE.md for upstream sources and their licenses. Project-specific contributions are licensed under GPL-3.0-or-later; copyright 2025-2026 Yusseter. See LICENSE. Existing third-party copyrights and license terms remain applicable; MIT notices are retained in |