-
Notifications
You must be signed in to change notification settings - Fork 304
Indexing doesn't appear to be working on Windows #722
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
Comments
rdar://106995873 |
@compnerd Do you have an idea what might be going wrong here? |
@ahoppen completely wild guess, when we restart, we are passing a path somewhere, and the path is not being formed using the proper path component separator, i.e. |
I had a quick check to see if vscode is passing |
For some reason, I seem to remember something along the lines of the path separator being an issue because it mismatched between SPM and LSP. This resulted in the files being treated differently, which was rather annoying. |
I have this working now, the situations where I haven't are probably related to #752 |
This bug has been triggered by the following bug in the vscode-swift repo swiftlang/vscode-swift#479.
In most cases sourcekit-lsp returns no results when asking to jump to definition for a symbol outside the current file.
The only situation I can get it to return a result is run
swift package clean
and then aswift build
. As soon as I restart VSCode though it stops working again.The text was updated successfully, but these errors were encountered: