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 Broken down #74

Closed BrickWithHat closed 1 year ago

BrickWithHat commented 1 year ago

So i have been running into some trouble with CWtools ever since i updated to the 0.10 branch. I have been trying for 2 days now to get it back to functional state, so far nothing works.

Things i have tried:

I keep getting this same error message(see attached below), i saw someone say that typing it in manual would work but even that does not work for me. I am genuinely at a loss where to look for a fix now as i tried the stellaris modding den but got no useful responds.

VS-CWTOOLS cache bug

BrickWithHat commented 1 year ago

So i figured a few things out thanks to some help out of the modding den. I said in there that i would post my findings here so here i am.

First thing i can confirm it is a problem in the json settings file. Having blank rows is something it is not very happy about but due to the fact that pressing the button to open the json file adds a line makes it is easily missed and can causes the error screenshot above. Next up having "cwtools.ignore_patterns" empty sitting there is also causing it not even display the error but just cease functioning. I tried to get an error message out of it but could not find any relevant error messages. This function is also added if you happen to press the button for it and has nothing in it by default.

Secondly while i was trying to rid myself of the 700+ not real errors in my mod because of all this, i discovered that making a cache with stable had the effect as if it was much older stellaris. Took a bit to figure out i had to be set to latest for it to actually detect real game content again.

As of me writing this, i still have 1 problem with fixing. The fact that any new/custom modifier i had generated for my mod does not seem to detected anymore.

BrickWithHat commented 1 year ago

Fixed by making custom config and manually overwriting modifiers.log Would like to thank Corsairsmakrs for the direction in the stellaris modding den.