Interface ICodeActionRequest
- All Superinterfaces:
IBaseCodeActionRequest,IComponentProvider
- All Known Implementing Classes:
CodeActionRequest
Code action request API.
- Author:
- Angelo ZERR
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanReturns true if the client can supportcodeAction/resolve and false otherwise.org.eclipse.lsp4j.DiagnosticReturns the diagnostic.org.eclipse.lsp4j.RangegetRange()Returns the code action range.Methods inherited from interface org.eclipse.lemminx.services.extensions.codeaction.IBaseCodeActionRequest
getDocument, getSharedSettingsMethods inherited from interface org.eclipse.lemminx.services.extensions.IComponentProvider
getComponent
-
Method Details
-
getDiagnostic
org.eclipse.lsp4j.Diagnostic getDiagnostic()Returns the diagnostic.- Returns:
- the diagnostic.
-
getRange
org.eclipse.lsp4j.Range getRange()Returns the code action range.- Returns:
- the code action range.
-
getXMLGenerator
- Throws:
BadLocationException
-
canSupportResolve
default boolean canSupportResolve()Returns true if the client can supportcodeAction/resolve and false otherwise.- Returns:
- true if the client can supportcodeAction/resolve and false otherwise.
-