Support for locating the declarations associated with the name at the specified module coordinates. Mandated by Go To Declaration Request.
This amounts to implementing org.eclipse.lsp4j.TextDocumentService.declaration.
This is similar to Go To Definition, but operating on a disjoint set of elements. See that issue for more guidance and detail.
The following items count as declarations:
- Names appearing in the filtered import lists of the
Uses section of a module header.
- Names appearing in the filtered import lists of the
Extends section of a module header.
- Names appearing in the
Names section of a module header.
- Forward method declarations.
- Abstract method declarations.
Support for locating the declarations associated with the name at the specified module coordinates. Mandated by Go To Declaration Request.
This amounts to implementing
org.eclipse.lsp4j.TextDocumentService.declaration.This is similar to Go To Definition, but operating on a disjoint set of elements. See that issue for more guidance and detail.
The following items count as declarations:
Usessection of a module header.Extendssection of a module header.Namessection of a module header.