GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Contribute a Java Extension Contribute a Java Extension
Fred Bricon edited this page
You can contribute a VSCode Java Extension to enhance the existing VSCode Java features. Follow these steps to contribute an extension. You can follow the tutorial here to start your own VSCode extension Put a server bundle together with your current VS Code extension (in a "contributes": { "javaExtensions": ["./server/my.java.plugin.jar"], } If you want to communicate with the plugin, add the following code in your extension: // This should be your command ("my.java.command") corresponding to your server plug-in extension point registration: function sendMyCommandToJavaLanguageServer(arg) { return executeJavaLanguageServerCommand("my.java.command", arg); } // This is the VSCode Java command for language server protocol workspace/executeCommand: function executeJavaLanguageServerCommand(...rest) { return vscode.commands.executeCommand("java.execute.workspaceCommand", ...rest); } Clone this wiki locally |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |