[TOOL] CWTools - a mod validating extension for VS Code

  • Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Paradox Space Exploration Sale has arrived! Up to 75% off

    How's the space on your hard drive? Paradox wants to challenge your galaxy brain with a great selection of space exploration games - and they're all on sale for some very down-to-earth prices! The sale runs from May 4th until May 10th at 17:00 CEST / 08:00 PDT.


    May 4th - May 10th
  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Dayshine

Second Lieutenant
42 Badges
Aug 25, 2016
110
29
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome Sign Up
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Imperator: Rome
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Magicka
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Sword of the Stars II
I'm getting a problem since yesterday where autocomplete suggestions on ctrl+space only show the terms already in the file (not even paradox language stuff, it shows as autocomplete even stuff I write on comments) prefixed by an icon containing the letters abc. I suppose this is a Visual Studio Code utility and has nothing to do with your extension.

It appears your extension simply stopped working properly. I can still see it sending and receiving messages, but nothing gets validated and no code suggestion works (the code snippets for events work, by the way, that's the only thing still working).

I don't understand a thing about the internal workings of a Visual Studio Code extension but something is definitely broken. I have both CWTools Paradox Language Server and Paradox Syntax Highlighting.

Now, getting to the point, should I try to reinstall? How to do that properly, just click uninstall on both extensions, close VS Code, open it search for them and install again? Or should I not do that and something else instead to fix it?

Thanks for this great extension and for any help you're willing to offer to solve this issue.
Yeah, it sounds like it isn't activating correctly. There's a few possible reasons, so, things to check:
1. That you're opening a folder with "Open folder"
2. That the full path to that folder contains the folder "Stellaris", e.g. "C:\Users\Thomas\Paradox Interactive\Stellaris\mod\my_mod"
3. That the first file you open is a .txt
4.That once you've opened the file, it says "stellaris" is the filetype in the bottom right of the screen

If it's none of those, the best thing is probably if you can grab some logs for me.
1. Go to file, preferences, settings and set cwtools.server.trace to "messages"
2. Close and reopen vscode
3. Open your mod folder as normal
4. Go to "View", "Output" and in the panel that opens, select "Paradox Language Server" in the dropdown on the right
5. Grab that log and send it to me in a conversation (or here if you like, but it might have some personal info in it like your username)

Reinstalling won't usually do anything, as long as you have the latest version of vscode and cwtools-vscode, there's nothing that can really corrupt :)
 
Last edited:

Starless2001

Second Lieutenant
22 Badges
Sep 29, 2016
187
6
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Green Cities
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Stellaris: Synthetic Dawn
  • Cities: Skylines Deluxe Edition
Yeah, it sounds like it isn't activating correctly. There's a few possible reasons, so, things to check:
1. That you're opening a folder with "Open folder"
2. That the full path to that folder contains the folder "Stellaris", e.g. "C:\Users\Thomas\Paradox Interactive\Stellaris\mod\my_mod"
3. That the first file you open is a .txt
4.That once you've opened the file, it says "stellaris" is the filetype in the bottom right of the screen

If it's none of those, the best thing is probably if you can grab some logs for me.
1. Go to file, preferences, settings and set cwtools.server.trace to "messages"
2. Close and reopen vscode
3. Open your mod folder as normal
4. Go to "View", "Output" and in the panel that opens, select "Paradox Language Server" in the dropdown on the right
5. Grab that log and send it to me in a conversation (or here if you like, but it might have some personal info in it like your username)

Reinstalling won't do anything, as long as you have the latest version of vscode and cwtools-vscode, there's nothing that can really corrupt :)

I did all that, didn't work, so I've sent you the log. I see there's a System.IO.InvalidDataException in there, don't know if that's ignorable or maybe the root of my problems (I had never read the init logs before).
 

Starless2001

Second Lieutenant
22 Badges
Sep 29, 2016
187
6
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Green Cities
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Stellaris: Synthetic Dawn
  • Cities: Skylines Deluxe Edition
Problem fixed, everyone! I just showed him the logs, he told me to delete a folder from his extension that he guessed got corrupted, he was right. The extension downloaded the folder again, this time uncorrupted and boom, everything went back to normal. Probably my computer's fault. I have some issues in it that make the screen just goes black, and the sound continues for like 20 seconds or so and then freezes too, endlessly looping the last noise it made. I'm thinking about getting a new HD soon, since this one is tiny for all my stuff (I have to use 2 external ones... oh maybe it's their fault!)

Anyway, sorry for the TMI, I'm just really happy to be able to continue working on this little mod of mine... and thanks Dayshine, for the amazingly useful tool and for being able to fix my problem with your first guess (even though you offered 3 possible steps to solve the problem using that worrying line we always get from tech support "if that doesn't work, then try step 2", which usually leads nowhere after completing all the darn steps).
 

Starless2001

Second Lieutenant
22 Badges
Sep 29, 2016
187
6
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Green Cities
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Stellaris: Synthetic Dawn
  • Cities: Skylines Deluxe Edition
Hello there! There are three modifiers that are not listed by Stellaris itself but they do exist (I just tested them). Is it possible for you to add them manually or you take the modifiers directly from a file the file that lists them in Stellaris folder? (game.log? I forget...) The missing modifiers are:


  • megastructures_physics_research_produces_mult
  • megastructures_society_research_produces_mult
  • megastructures_engineering_research_produces_mult
Thanks again for this amazing tool!
 

Melvasul

Banned
29 Badges
Feb 3, 2017
36
54
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • Cities: Skylines - After Dark
  • Imperator: Rome
  • Age of Wonders III
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II
  • Europa Universalis IV: Cossacks
  • Cities: Skylines Deluxe Edition
Hi :)
I'm having this problem with the autocompletion, I just no more get it :/
I have all the syntax (although the loc one seems strange), the "word" completion works fine (even though is just file limited) but I cannot get any real completion to suggest me how the command, e.g. add_building_construction, should work, and the ShowDefinition command shows no definition for everything
upload_2020-2-4_17-34-46.png


This is the syntax, I remember the "#" were green, whereas the title and desc where orangish and blueish
upload_2020-2-4_17-38-1.png


Thanks in advance for the time and work done,
Have a nice day :)
 

Dayshine

Second Lieutenant
42 Badges
Aug 25, 2016
110
29
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome Sign Up
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Imperator: Rome
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Magicka
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Sword of the Stars II
Hi :)
I'm having this problem with the autocompletion, I just no more get it :/
I have all the syntax (although the loc one seems strange), the "word" completion works fine (even though is just file limited) but I cannot get any real completion to suggest me how the command, e.g. add_building_construction, should work, and the ShowDefinition command shows no definition for everything
View attachment 543183

This is the syntax, I remember the "#" were green, whereas the title and desc where orangish and blueish
View attachment 543186

Thanks in advance for the time and work done,
Have a nice day :)

If you look in the bottom right, the language is showing as "paradox". This is because the extension can't detect which game you're in.

For the extension to work correctly you should place the mod in your user modding folder (C:\Users\Thomas\Documents\Paradox Interactive\Stellaris\mod).

What it actually needs is the mod folder's path to contain the name of the game, so something like D:\Temp\Stellaris\blah\blah\mod\ would work too :)
 

Dayshine

Second Lieutenant
42 Badges
Aug 25, 2016
110
29
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome Sign Up
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Imperator: Rome
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Magicka
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Sword of the Stars II
But the mods are automatically placed under the steam path :/
Even the mod files in the Documents/Paradox Interactive/Europa Universalis IV/mod folder just refer to the one in the steam workshop :/

This is the content of my /Europa Universalis IV/mod/ folder :/
View attachment 543211

Sure, but it's not safe to edit mods in that folder is it? I assume steam will just override any changes you make.
You can still make it work, but I guess there are two ways:
1. Just copy the mod from the steam folder to somewhere else
2. Open the mod folder, then open a script file, then in the bottom right click "Plain text" and change it to "EU4". This will activate cwtools in EU4 mode, however it might not work perfectly.
 

Melvasul

Banned
29 Badges
Feb 3, 2017
36
54
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • Cities: Skylines - After Dark
  • Imperator: Rome
  • Age of Wonders III
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II
  • Europa Universalis IV: Cossacks
  • Cities: Skylines Deluxe Edition
Sure, but it's not safe to edit mods in that folder is it? I assume steam will just override any changes you make.

Technically yes, but Steam will update it only when a new version on the steam workshop is added so it's safe for my own mods I would say lOl

Let's say I would like to mod them from the /mod/ folder, how should I do it? (I think this message is outside of this post scope though)
I'll try with the script file :t
 

D.Knight

Captain
21 Badges
Jun 3, 2015
352
259
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Europa Universalis IV
  • Crusader Kings III Referal
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Crusader Kings II: Horse Lords
  • Victoria 2
  • Semper Fi
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Victoria: Revolutions
  • March of the Eagles
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
I'm trying to use your great extension but no popups or boxes open. Looking at the output 0 effects seem to be loaded
 

Araxiel

Sergeant
94 Badges
Mar 14, 2016
59
22
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Reapers Due
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Parklife Pre-Order
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Conclave
  • Cities: Skylines - Parklife
  • Cities: Skylines
  • Steel Division: Normandy 44
  • Stellaris: Galaxy Edition
  • Surviving Mars: First Colony Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • Crusader Kings II: Holy Fury Pre-order
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect: Psych Ward
  • Prison Architect
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Necroids
  • Europa Universalis IV
  • Stellaris: Lithoids
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Humanoids Species Pack
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • The Showdown Effect
  • Stellaris: Apocalypse
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • War of the Roses
Is there a way to exclude specific lines or specific problems (not the entire error code) from the list of problems?

Otherwise; great extension. The myriad of features made me jump over to modding PDX games in VSC.
 

Dayshine

Second Lieutenant
42 Badges
Aug 25, 2016
110
29
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome Sign Up
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Imperator: Rome
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Magicka
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Sword of the Stars II
Is there a way to exclude specific lines or specific problems (not the entire error code) from the list of problems?

Otherwise; great extension. The myriad of features made me jump over to modding PDX games in VSC.
Not really I'm afraid, that's one of the limitations of the rule based system. I've toyed with adding inline comments, but it seems a bit messy.
My question for you would be: Why do you want to do that?
If there a few specific places the rules aren't quite right, the better solution is for us to tweak the rules there.
 

Careful Plum

Major
85 Badges
Dec 30, 2004
545
179
  • Crusader Kings II: Horse Lords
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Sword of the Stars II
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings III
  • Europa Universalis IV: Art of War
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Cities in Motion
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
I think I'm doing something wrong with setting the vanilla folder location. Basically, everything that needs to be defined by vanilla is marked as an error, e.g., all civics, ship types...

I tried entering the vanilla location in the settings by hand, "C:\Program Files (x86)\Steam\steamapps\common\Stellaris", and also leaving it blank. I think it was mentioned that this would produce a prompt to enter it, but this didn't happen.

Any idea what to do here?
 

Careful Plum

Major
85 Badges
Dec 30, 2004
545
179
  • Crusader Kings II: Horse Lords
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Sword of the Stars II
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings III
  • Europa Universalis IV: Art of War
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Cities in Motion
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
I think I'm doing something wrong with setting the vanilla folder location. Basically, everything that needs to be defined by vanilla is marked as an error, e.g., all civics, ship types...

I tried entering the vanilla location in the settings by hand, "C:\Program Files (x86)\Steam\steamapps\common\Stellaris", and also leaving it blank. I think it was mentioned that this would produce a prompt to enter it, but this didn't happen.

Any idea what to do here?
Oh, I actually solved it, sorry for the bother (by recreating vanilla cache through the command palette). :D
 

Krieger The Conquer

Belhun
13 Badges
Aug 2, 2016
2
0
  • War of the Roses
  • Cities: Skylines
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Leviathans Story Pack
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Prison Architect
  • Magicka
  • Stellaris - Path to Destruction bundle
hey so am haveing issues so iv installed this and after setting it up and i see i have the Stellaris Language mode but i type the only kind of auto fill i get it are the below events.
2 events .PNG


am kinda lost and dont know where to look and what i should be seeing tbh am kinda a newbe so am sorry if this is obvuse or am not useing it right
 

littleraskol

First Lieutenant
25 Badges
May 29, 2013
214
8
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Stellaris: Synthetic Dawn
So some issues I am having...
  1. Sometimes this messes with auto-indent after hitting return. Basically, it stops doing any auto-indenting and all new lines start at the very beginning of the line. I know it's this because when I uninstalled it, the problem stopped. (However, I had the tools and the syntax coloring addon both installed at once so it might have been one or the other or a combination.)
  2. The syntax coloring overrides a Paradox YAML coloring addon I'm using. Any way to exclude .yml files from the coloring?
 

Firegolem

Second Lieutenant
16 Badges
Oct 19, 2019
127
37
  • Crusader Kings II: The Old Gods
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Knights of Honor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
I only yet found that this tool has an validator. Also I've no clue what the readme on https://github.com/tboby/cwtools says, you must need C# to use the parser?? In VSCode this should be integrated as linter commonly per SHIFT+ALT+F !? I use this tool since one month simply as syntaxhighlighter and I simply wondering why it should be so great. :p
 

dogabeey

Private
43 Badges
Nov 21, 2018
20
1
  • Stellaris: Apocalypse
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Rights of Man
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Stellaris
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines Industries
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
Hey. Thanks for this great tool. It works perfect for syntax errors so far, but I don't get validation errors or auto-complete feature for EU4 (also find definition, reference etc does not work). Is it not fully supported for EU4 yet or I did something wrong?

Edit: Language is shown as eu4 in my files.
 
Last edited: