DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
320 stars 87 forks source link

No tree view visible in explorer #367

Open Krigsmaskine opened 2 years ago

Krigsmaskine commented 2 years ago

Description I cannot for the life of me get the tree view to open in the explorer side pane on a XML file. As far as I can gather, I should be able to see a new category/divider called XML document, but I see naught.

Screenshots image

Extension Version v2.5.1

VS Code Version version 1.59

Operating System Windows 10 Home 20H2

Floosen commented 2 years ago

I was struggling with the same problem until I noticed, that XML files where opened in HTML Language Mode. After changing the Language Mode manually to XML the tree view showed up in the file explorer sidebar. Hope this helps!

Krigsmaskine commented 2 years ago

Ah, trying with a smaller file, it does seem to open, but with files of around 1.5 - 2 gb, the XML document never seems to show up. Is there a size limit on the feature?

enricovian commented 2 years ago

I'm experiencing the same issue: XML tree does not seem to open for a 14M lines file.

XML Tools v2.5.1 VS Code 1.63.2

Liturgist commented 2 years ago

I have similar issues. The .dtsx (SSIS package) opens as an XML document. < 300 KiB size. Nothing expands. XML Tools v2.5.1 VS Code: 1.68.0

adgower commented 1 year ago

same issue with large file from apple health export

fsol11 commented 6 months ago

Select "View" -> "Open View..."

A window opens. Select the "Folders" item.