Hide "XML Document" Tree View for Non-XML Documents
See original GitHub issueLike the title says, you should only display the explorer tree view when a user opens a XML document. It’s a waste of space having it there all the time.
Not sure about it, but I believe this could be achieved using the onLanguage
activation event:
https://code.visualstudio.com/docs/extensionAPI/activation-events
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Populate tree view without values from XML document in ...
Using Visual C# in Visual Studio 2010 I followed the following example to add the nodes of an XML document to a tree...
Read more >Remove elements, attributes, and nodes from an XML tree
In this article You can modify an XML tree, removing elements, attributes, and other types of nodes. Removing a single element or a...
Read more >how to display only parent nodes in xml tree view control ...
Text; LoadXMLTree(txtFilePath.Text); binding the xml file to tree view as shown below private void LoadXMLTree(string fileName) { try { ...
Read more >Hide python toolbox metadata xml in catalog view/pane
The display of the metadata files in the treeview is not needed and could/should be hidden in the treeview (similar to the way...
Read more >Understanding the XML Tree
The XML tree pane contains a view on the internal structure of the linked XML file(s). Every node in the file (including elements...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t need it even in xml docs, hope to see config that disables it
Hi @DotJoshJohnson , you can activate this extension only under xml language. In package.json:
So we avoid triggering the extension with unsupported programming languages and consequently saving resources