Skip to content

Tool Window TreeView Sample #1

@shaggygi

Description

@shaggygi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions