JaroslavTulach opened a new pull request #3107:
URL: https://github.com/apache/netbeans/pull/3107


   NetBeans offers great abstraction over UI - 
[nodes](https://bits.netbeans.org/12.3/javadoc/org-openide-nodes/overview-summary.html).
 Let's use the `Node` and 
[ExplorerManager](https://bits.netbeans.org/12.3/javadoc/org-openide-explorer/org/openide/explorer/ExplorerManager.html)
 concepts to share significant parts of the UI in VSNetBeans.
   
   This PR demonstrates the concept by exposing _Projects tab_ as a VSCode 
side-panel.
   
   The core component on Java side is `TreeViewProvider` which has similar API 
as VSCode 
[TreeViewProvider](https://code.visualstudio.com/api/extension-guides/tree-view).
 It connects to an existing `ExplorerManager` and exposes its `Node`s as 
`TreeItem` elements. There is `TreeViewProvider` subclass which uses LSP to 
transfer the node information to the typescript part. The typescript then 
implements the VSCode `TreeViewProvider` via so called `Visualizer`s.
   
   There are unit tests to verify functionality on the Java side as well as 
integration tests that verify the transfer over language server protocol works 
to certain extend.


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