sdedic opened a new pull request #3382:
URL: https://github.com/apache/netbeans/pull/3382


   This PR is rather intricate. It turned out that `vscode` is probably 
confused by aggressive change events fired from the NBLS. The PR attempts to 
buffer changes for nodes that are being just queries by vscode: if such a 
change is received, it is set aside. Once queries for the node (children, info) 
are resolved, a vscode node change will be fired for the node - which will 
probably result in an additional `getTreeItem` or `getChildren` call. 
   
   With this queue in place, nodes seem to refresh properly.
   
   I added some logging (now disabled by a constant in the code) - but logs to 
the Output channel of the NBLS extension: if the LSP trace is enabled at the 
same time, the LSP message traces are interleaved with the tree processing 
diagnostics. It's easier to find out what and when is happening.
   
   


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