twee3-language-tools
twee3-language-tools copied to clipboard
Loading extra .tw files and closing it keeps errors/issues alive
Dear,
Say I have two .tw files, one in /Documents and one in /Downloads. If I were to open the /Documents one and work on it, there are no problems. Say I want to check the .tw file in /Downloads, quickly open it in the same window, and press "trust authors" to activate extensions. I get to see 4 errors and 20 issues, for example, normal things such as missing closing tags or unrecognized macro/widget.
If I close the second file from /Downloads the errors keep persisting even though the project folder is in /Documents and has no reason to persist in the memory of T3LT. After a restart for VSC, everything is fixed. But might I suggest something that checks if the files are in open view and if not, check if they are part of the project, and if not, discard errors/issues?
Yours, Redsea
would not be surprised if this is due to VS-Code itself.