This document lists changes made to the LSP APIs. Please ask on the
dev@netbeans.apache.org
mailing list if you have any questions about the details of a
change, or are wondering how to convert existing code to be compatible.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.api.lsp/1 > 1.20
org.netbeans.api.lsp.CallHierarchyEntry
org.netbeans.spi.lsp.CallHierarchyProvider
org.netbeans.api.lsp.CodeLens
org.netbeans.spi.lsp.CodeLensProvider
org.netbeans.api.lsp.Diagnostic
org.netbeans.spi.lsp.DiagnosticReporter
org.netbeans.spi.lsp.ErrorProvider
org.netbeans.api.lsp.Hover
org.netbeans.spi.lsp.HoverProvider
org.netbeans.spi.lsp.HyperlinkTypeDefLocationProvider
org.netbeans.api.lsp.StructureElement
org.netbeans.spi.lsp.StructureProvider
Diagnostic
; made by: sdedic
CodeLens
CodeLensProvider
; made by: jlahoda
Diagnostic
DiagnosticReporter
; made by: sdedic
CallHierarchyEntry
CallHierarchyProvider
; made by: sdedic
StructureElement
StructureProvider
; made by: ppisl
StructureProvider
interface allows to compute structure (tree of SourceElement
s)
of the given file.
ErrorProvider
; made by: balek
ErrorProvider.Context.getOffset()
method introduced that allows to
compute hint for a given file offset.
ErrorProvider
; made by: jlahoda
ErrorProvider
interface introduced that allows to
compute errors/warnings for a given file.
Hover
HoverProvider
; made by: dbalek
Hover
class and HoverProvider
interface introduced
that allows to resolve a hover information at a given document offset and
return its content.
HyperlinkTypeDefLocationProvider
; made by: dbalek
HyperlinkTypeDefLocationProvider
interface introduced that allows to
compute hyperlinks to type definition locations.