swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.2k stars 264 forks source link

Implement `sourcekit-lsp --version` option #1496

Open MaxDesiatov opened 2 weeks ago

MaxDesiatov commented 2 weeks ago

Currently sourcekit-lsp --version is an invalid option, which makes it harder to debug issues with SourceKit-LSP, as one can't even easily know which version is installed:

❯ sourcekit-lsp --version
Error: Unknown option '--version'
MaxDesiatov commented 2 weeks ago

@swift-ci test

MaxDesiatov commented 2 weeks ago

@swift-ci test macos

MaxDesiatov commented 1 week ago

@swift-ci test macos

MaxDesiatov commented 1 week ago

https://github.com/apple/swift/pull/74592

@swift-ci test

MaxDesiatov commented 1 week ago

@swift-ci test macos