This extension provides Crusader Kings II mod support for Visual Studio Code. Right now, it’s just syntax highlighting, but future support for more sophisticated features like IntelliSense is anticipated.
Because CK2 mod files by default have .txt file extensions, you’ll need to rename your mod files to *.ck2.txt. The extension will automatically work its magic on any file with this file extension. You will need to add a replace_path line to the .mod file to make sure the files you have changed are still overwriting their original counterparts. To enable syntax highlighting for your .mod file, change its file extension to .ck2.mod.