Skip to content

Compute additional information (reference tag) about the kind of access to a referenced item. #2226

Open
ratzdi wants to merge 12 commits into
microsoft:gh-pagesfrom
ratzdi:issue_2207
Open

Compute additional information (reference tag) about the kind of access to a referenced item. #2226
ratzdi wants to merge 12 commits into
microsoft:gh-pagesfrom
ratzdi:issue_2207

Conversation

@ratzdi

@ratzdi ratzdi commented Feb 6, 2026

Copy link
Copy Markdown

Compute additional information about the kind of access in the following methods:

  • textDocument.callHierarchy
  • textDocument.references

The type of access indicates whether the referenced object is being written to or read from.

Dimitri Ratz and others added 8 commits December 9, 2025 13:56
…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.
@HighCommander4

Copy link
Copy Markdown

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.
@ratzdi

ratzdi commented Feb 8, 2026

Copy link
Copy Markdown
Author

I take it this is a PR implementing #2207? (Just want to make sure the issue and PR are linked together for discoverability.)

@HighCommander4, Yes.

@ratzdi ratzdi marked this pull request as draft May 4, 2026 19:32
@ratzdi ratzdi marked this pull request as ready for review May 7, 2026 07:19
@dbaeumer

Copy link
Copy Markdown
Member

@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?

@ratzdi

ratzdi commented May 27, 2026

Copy link
Copy Markdown
Author

@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.

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.

4 participants