You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Platform
macOS
Editor
VSCode
Does the issue reproduce with Swift 6?
None
Description
The CompletionItems returned by SourceKIt-LSP in a textDocument/completion response do not include a sortText field. Because of this VSCode sorts them by label. If SourceKit-LSP wants to ensure the sorting of symbols it should include something in sortText field.
Steps to Reproduce
No response
Logging
No response
The text was updated successfully, but these errors were encountered:
Swift version
Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Platform
macOS
Editor
VSCode
Does the issue reproduce with Swift 6?
None
Description
The CompletionItems returned by SourceKIt-LSP in a
textDocument/completion
response do not include asortText
field. Because of this VSCode sorts them by label. If SourceKit-LSP wants to ensure the sorting of symbols it should include something insortText
field.Steps to Reproduce
No response
Logging
No response
The text was updated successfully, but these errors were encountered: