Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 28, 2024

Specifying SourceKitLSPOptions in the initialize request allows editors to provide UI elements to toggle SourceKit-LSP options.

The reverse-DNS notation is macOS style and doesn’t feel at home on Linux.

ahoppen added 2 commits June 28, 2024 10:25
This allows editors to provide UI elements to toggle SourceKit-LSP options.
The reverse-DNS notation is macOS style and doesn’t feel at home on Linux.
@ahoppen ahoppen requested review from bnbarham and hamishknight June 28, 2024 08:26
@ahoppen
Copy link
Member Author

ahoppen commented Jun 28, 2024

@swift-ci Please test

self.workDoneProgressDebounce = workDoneProgressDebounce
}

public init?(fromLSPAny lspAny: LSPAny?) throws {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move this type to LSP so that clients can also construct it (though for that to actually be true we probably need to split LSP out of this repo, but still... seems like a reasonable place for it to live)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started moving it to the LanguageServerProtocol module and then decided against it. I can’t really tell why but it didn’t feel at home there.

@ahoppen ahoppen merged commit 16e4f83 into swiftlang:main Jun 28, 2024
@ahoppen ahoppen deleted the configuration-improvements branch August 4, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants