You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 with loader.lgt and tester.lgt) and execute "Run Tests", this not only misses running the tests but also ruins my Logtalk session:
?- vscode::tests('/Users/.../different-dir','/Users/../different-dir/tester').
! Existence error: file '/Users/../different-dir/tester' does not exist
! in goal: logtalk_load('/Users/../different-dir/tester',[reload(always)])
! with execution context:
! entity: vscode
! sender: user
! this: vscode
! self: vscode
! meta-call context: []
! coinduction stack: []
! Typo in the file name or in the file path? If using a relative path,
! also check that the current directory is the expected one.
!
Then switching back to a source code file in project dir and running "Run tests" again:
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:
The text was updated successfully, but these errors were encountered: