Skip to content

Commit

Permalink
Merge pull request #253 from turkeylurkey/issue-252
Browse files Browse the repository at this point in the history
Add definition of Java cursor context message.
  • Loading branch information
turkeylurkey authored May 25, 2023
2 parents 07d013f + d5433fe commit c3e0129
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/definitions/lsp4jakartaLSRequestNames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
export const JAVA_HOVER_REQUEST = "jakarta/java/hover";
export const JAVA_DIAGNOSTICS_REQUEST = "jakarta/java/diagnostics";
export const JAVA_CLASSPATH_REQUEST = "jakarta/java/classpath";
export const JAVA_CODEACTION_REQUEST = "jakarta/java/codeaction";
export const JAVA_CODEACTION_REQUEST = "jakarta/java/codeaction";
export const JAVA_CURSORCONTEXT_REQUEST = "jakarta/java/cursorcontext";
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
bindRequest(lsp4jakartaLS.JAVA_CLASSPATH_REQUEST);
bindRequest(lsp4jakartaLS.JAVA_CODEACTION_REQUEST);
bindRequest(lsp4jakartaLS.JAVA_DIAGNOSTICS_REQUEST);
bindRequest(lsp4jakartaLS.JAVA_CURSORCONTEXT_REQUEST);

item.text = localize("jakarta.ls.thumbs.up");
item.tooltip = localize("jakarta.ls.started");
Expand Down

0 comments on commit c3e0129

Please sign in to comment.