JaroslavTulach commented on a change in pull request #3349:
URL: https://github.com/apache/netbeans/pull/3349#discussion_r760398629



##########
File path: java/java.lsp.server/vscode/src/extension.ts
##########
@@ -675,6 +676,53 @@ function doActivateWithJDK(specifiedJDK: string | null, 
context: ExtensionContex
         window.showErrorMessage('Error initializing ' + reason);
     });
 
+    async function showHtmlPage(params : HtmlPageParams): Promise<string> {

Review comment:
       When there is a need to show the UI, the JVM opens a port (unsecured 
right now) with a simplistic HTTP server ands sends a LSP request to show a 
page where it passes the URL to show. The request is handled in this VSCode 
extension and opens a `WebView` that connects to the HTTP port and makes the 
page "live" and controllable from a Java code.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to