-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I originally opened this as an issue on the sourcekit-lsp repo, at the time not really sure where this functionality belonged. I was told it'd be part of the BSP by this comment here.
To rehash my use case outlined in my original issue:
Consider the following scenario:
- I'm editing a CXX project in VS Code and I see a warning that I don't want enabled
- I go into Xcode and disable the warning
- I observe the warning does not disappear from VS Code, so I run the "Reload Window" command to restart the language server
- I observe the warning is gone now
- The reverse holds true as well and the warning reappears when re-enabled and the server restarted
And to summarize the advice from the linked comment:
- The BSP server can watch for file changes that affect the build settings by specifying watchers in the
build/initializeresponse - It can then notify SourceKit-LSP about the build settings change by sending a
buildTarget/didChangenotification
I suspect this might address #52 and #89
I'm happy to help and contribute, but I may need some guidance; I'm not even sure where to begin. I don't see how specific messages are handled for example. Looks like some runtime magic?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels