Open cl-alexk opened 4 months ago
Partial fix (requires latest Logtalk git version):
logtalk-for-vscode-0.23.0.vsix.zip
From the release notes:
Note that you also have a "Logtalk: Run Testers (workspace)" command.
From your description, I assume that you have several folders with different projects in the same window/workspace?
From your description, I assume that you have several folders with different projects in the same window/workspace?
I do, but they are not open. In this particular case I'm looking at a non-Logtalk file (e.g. a data fixture) in a subdirectory in the workspace.
Currently "Make - Reload" and "Run Tests" actions are sensitive to the context of the active editor file. If I'm currently looking at a file elsewhere in a
.../different-dir/
(e.g. editing a test fixture not in the same directory withloader.lgt
andtester.lgt
) and execute "Run Tests", this not only misses running the tests but also ruins my Logtalk session:Then switching back to a source code file in project dir and running "Run tests" again:
The cure is to kill and restart.
A nicer behavior would be: