sdedic commented on a change in pull request #2478:
URL: https://github.com/apache/netbeans/pull/2478#discussion_r509350260



##########
File path: java/java.lsp.server/vscode/src/extension.ts
##########
@@ -197,6 +199,9 @@ export function activate(context: ExtensionContext) {
         client.start();
         client.onReady().then((value) => {
             commands.executeCommand('setContext', 'nbJavaLSReady', true);
+            client.onNotification(StatusMessageRequest.type, (mp) => {

Review comment:
       I've read in the documentation that the registration shall be done after 
onReady(), Will shorten the call.
   




----------------------------------------------------------------
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.

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