Skip to content

Commit 13b2af3

Browse files
committed
Support for MicroProfile RestClient/Health CodeAction
See redhat-developer/quarkus-ls#236 Signed-off-by: azerr <[email protected]>
1 parent ed72684 commit 13b2af3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/definitions/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ export namespace MicroProfileLS {
3434
export const PROPERTY_DEFINITION_REQUEST = 'microprofile/propertyDefinition';
3535
export const JSON_SCHEMA_FOR_PROJECT_INFO_REQUEST = 'microprofile/jsonSchemaForProjectInfo';
3636
export const JAVA_CODELENS_REQUEST = 'microprofile/java/codeLens';
37-
export const JAVA_HOVER_REQUEST = 'microprofile/java/hover';
37+
export const JAVA_CODEACTION_REQUEST = 'microprofile/java/codeAction';
3838
export const JAVA_DIAGNOSTICS_REQUEST = 'microprofile/java/diagnostics';
39+
export const JAVA_HOVER_REQUEST = 'microprofile/java/hover';
3940
export const PROPERTIES_CHANGED_NOTIFICATION = 'microprofile/propertiesChanged';
4041
}
4142

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ export function activate(context: ExtensionContext) {
5454
bindRequest(MicroProfileLS.PROJECT_INFO_REQUEST);
5555
bindRequest(MicroProfileLS.PROPERTY_DEFINITION_REQUEST);
5656
bindRequest(MicroProfileLS.JAVA_CODELENS_REQUEST);
57-
bindRequest(MicroProfileLS.JAVA_HOVER_REQUEST);
57+
bindRequest(MicroProfileLS.JAVA_CODEACTION_REQUEST);
5858
bindRequest(MicroProfileLS.JAVA_DIAGNOSTICS_REQUEST);
59+
bindRequest(MicroProfileLS.JAVA_HOVER_REQUEST);
5960

6061
/**
6162
* Delegate notifications from Java JDT LS to the MicroProfile LS

0 commit comments

Comments
 (0)