-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode workspace not being parsed correctly for Nim suggest #106
Comments
@pr-yemibedu I cant reproduce this behavior, could You please provide example project? |
Hello, The workspace of C never gets passed the |
I have this issue too, as soon as I went from just opening a single folder to using a workspace with multiple folders.
Or put another way, it seems that it's taking the first project directory in the workspace and prepending it to all of them. For example, say I have two project directories (projA and projB) in the same workspace. For the first project I get: Unfortunately this means nimsuggest doesn't work with workspaces. |
Fixed in 805d3f1 |
Hello,
Looking at line NimUtil Line 51 I see that the toLocalFile function is suppose to do a merge of workspace and filepath. This is causing an error that the project root folder name is being counted twice. NimSuggest is failing because of this.
With base folder add being put in a workspace this is what happens:
The exact error message: "console.ts:136 [Extension Host] Nimsuggest returns unknown port number: cannot find file: e:\projects\nim\add\add\src\add.nim"
There should be another check inside that if the final path is not valid to return something else or report an error. Thank you. Good day.
The text was updated successfully, but these errors were encountered: