Compute additional information (reference tag) about the kind of access to a referenced item. #2226
Compute additional information (reference tag) about the kind of access to a referenced item. #2226ratzdi wants to merge 12 commits into
Conversation
…ype ReferenceTag[].
…ities and CallHierarchyClientCapabilities. New: Reference interface aggregating Location and reference tags. Change: response of the method textDocument/references now can contain the array with objects of the new type Reference.
…ClientCapabilities and in CallHierarchyClientCapabilities. Change: referenceTags is optional in Reference interface.
…ncesItemSupport and for ReferenceClientCapabilities.referencesTagSupport.
|
I take it this is a PR implementing #2207? (Just want to make sure the issue and PR are linked together for discoverability.) |
…rarchyClientCapabilities. Fix: renamed referencesTagSupport to referenceItemsSupport in ReferenceClientCapabilities.
@HighCommander4, Yes. |
Fix issue eclipse-lsp4j#951. Implement LSP specification proposal microsoft/language-server-protocol#2226
|
@ratzdi thanks for working on this. I do want to point out that we need a server and client reference implementation as well to get something like this into the spec. Are you working on such an implementation? |
@dbaeumer, on the server side, work is currently underway here: llvm/llvm-project#172462. On the client side, @travkin79 has prepared a PR for LSP4J on eclipse-lsp4j/lsp4j#954. This is a prerequisite for changes in LSP4E and CDT LSP. |
Compute additional information about the kind of access in the following methods:
textDocument.callHierarchytextDocument.referencesThe type of access indicates whether the referenced object is being written to or read from.