Samples icon indicating copy to clipboard operation
Samples copied to clipboard

Tool Window TreeView Sample

Open shaggygi opened this issue 4 years ago • 0 comments

It would be nice to have a sample how to create a tool window with a custom treeview structure. This would be similar to something like the Solution Explorer where you can add unique items/files to your own structure.

Questions

  1. How would you wire up and enable/disable context menu items for specific items in structure?
  2. Are there docs related to a treeview structure within VS? Like how to navigate up/down the structure finding ancestor/descendant items?

References

https://docs.microsoft.com/en-us/visualstudio/modeling/directed-graph-markup-language-dgml-reference?view=vs-2019 https://code.visualstudio.com/api/extension-guides/tree-view

shaggygi avatar Jun 05 '21 13:06 shaggygi