Skip to content

Commit

Permalink
Merge pull request #303 from ajm01/pickup-new-jakarta-msg
Browse files Browse the repository at this point in the history
add support for new jakarta LS/Client message - fileInfo
  • Loading branch information
ajm01 authored Oct 31, 2023
2 parents 13a062a + 6cec40f commit ac30eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/definitions/lsp4jakartaLSRequestNames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

// Jakarta Language API
export const FILEINFO_REQUEST = "jakarta/java/fileInfo"
export const JAVA_HOVER_REQUEST = "jakarta/java/hover";
export const JAVA_DIAGNOSTICS_REQUEST = "jakarta/java/diagnostics";
export const JAVA_COMPLETION_REQUEST = "jakarta/java/completion";
Expand Down
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
console.log("LSP4Jakarta is ready, binding requests...");

// Delegate requests from Jakarta LS to the Jakarta JDT core
bindRequest(lsp4jakartaLS.FILEINFO_REQUEST);
bindRequest(lsp4jakartaLS.JAVA_COMPLETION_REQUEST);
bindRequest(lsp4jakartaLS.JAVA_CODEACTION_REQUEST);
bindRequest(lsp4jakartaLS.JAVA_CODEACTION_RESOLVE_REQUEST);
Expand Down

0 comments on commit ac30eaf

Please sign in to comment.