mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
- Add UID for CollectExpressionType request - Add ExpressionTypeInfo structure - Add keys to support sourcekitd's CollectExpressionType - Implement CollectExpressionType request - Add SwiftLanguageServer.expressionTypeInfos - Add InlayHint and supporting types - Add InlayHintsRequest - Add inlayHints handler stub - Implement inlay hints request - Update InlayHint to follow the current proposal - # This is the commit message #11: - ...as described in the LSP proposal - Update doc comment on InlayHintsRequest - Map inlay hints lazily - Fix minor style issue - Add new files to CMakeLists.txt - Specify commit of the current inlay hints proposal state - Add public, memberwise initializer for InlayHintsRequest - assert(false) if deserializing ExpressionTypeInfos fails - Add dispatch precondition to _expressionTypeInfos - Add InlayHintsRequest to the builtinRequests - Factor out function for querying document symbols for URI - Only render inlay hints after variable bindings - Test inlay hints on empty document - Test inlay hints for some simple bindings - Test ranged inlay hint requests - Make sure that inlay hints are unique per position - Test inlay hints for fields - Apply various PR suggestions regarding inlay hints - Update inlay hint tests and add case with explicit type annotations - Continue iterating if an ExpressionTypeInfo fails to deserialize