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
Error: Source file "/path/to/source/file.idr" is not in the source directory "." Idris2 [1, 1]
on all .idr files that compile perfectly fine.
New to Idris and not a vscode extension programmer, so just taking a guess here: the source file path should be relative instead of an absolute file path?
Environment:
Idris 2, version 0.4.0-f77670814
with latest idris2-lsp.
The text was updated successfully, but these errors were encountered:
Hi @xiaopong, it's an issue due to a missing local ipkg file, in order to create it just run idris2 --init in the folder where you have your files and enter the package name:
It just reports error
on all .idr files that compile perfectly fine.
New to Idris and not a vscode extension programmer, so just taking a guess here: the source file path should be relative instead of an absolute file path?
Environment:
Idris 2, version 0.4.0-f77670814
with latest idris2-lsp.
The text was updated successfully, but these errors were encountered: