Collapse XML to Elements in Visual Studio Code

In Visual Studio and most other editors, you can collapse XML down to the tag / element level. Is there a way to do the same in Visual Studio Code or is this feature yet to come?

+9


source to share


3 answers


This is not currently possible, but we plan to provide this feature in the future. You can suggest new features like this on our User Voice page . You can find your offer there .



Update for our version of VS Code 1.0:

Code folding is now implemented!

+11


source


XML Collapsing is available as part of XML , an extension created by Red Hat for VS Code.



+1


source


Ctrl+K, Ctrl+Numto collapse the level Num

, where Num = 0-9

; Ctrl+K, Ctrl+Jexpand all (palette shows you shortcuts)

0


source







All Articles