Package | Description |
---|---|
org.netbeans.api.lsp | |
org.netbeans.spi.lsp |
Modifier and Type | Method and Description |
---|---|
Command |
CodeAction.getCommand()
Return the command of the action.
|
Command |
CodeLens.getCommand()
Returns the command associated with the code lens.
|
Command |
Completion.getCommand()
An optional command that is executed after inserting this completion.
|
Constructor and Description |
---|
CodeAction(String title,
Command command)
Construct the
CodeAction . |
CodeAction(String title,
Command command,
WorkspaceEdit edit)
Construct the
CodeAction . |
CodeAction(String title,
String kind,
Command command,
WorkspaceEdit edit)
Construct the
CodeAction . |
CodeLens(Range range,
Command command,
Object data)
Create a new instance of CodeLens.
|
LazyCodeAction(String title,
Command command,
java.util.function.Supplier<WorkspaceEdit> lazyEdit)
Constructs the
LazyCodeAction . |
LazyCodeAction(String title,
String kind,
Command command,
java.util.function.Supplier<WorkspaceEdit> lazyEdit)
Constructs the
LazyCodeAction . |
Modifier and Type | Method and Description |
---|---|
CompletionCollector.Builder |
CompletionCollector.Builder.command(Command command)
An optional command that is executed after inserting this completion.
|