Skip to content

How to "push" or "sync" project settings changes to SourceKit-LSP? #2185

@NSExceptional

Description

@NSExceptional

I suspect this is something VS Code extension authors will have to implement if it isn't something SourceKit-LSP supports already. But I'm here to find out whether it does, before I start a game of phone tag by opening an issue on a different repo that just ends up being a separate issue here anyway.

Consider the following scenario:

  1. I'm editing a CXX project in VS Code and I see a warning that I don't want enabled
  2. I go into Xcode and disable the warning
  3. I observe the warning does not disappear from VS Code, so I run the "Reload Window" command to restart the language server
  4. I observe the warning is gone now
  5. The reverse holds true as well and the warning reappears when re-enabled and the server restarted

Is there some message the Swift extension can send to the LSP to cause it to reload the project settings without restarting? Or, can the LSP itself monitor the project file for changes and update itself and remove the warning(s) on its own?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions