A VS Code extension to generate ascii tree of directories or format selected text to tree strings.
This extension provides convenient way to generate ascii tree strings for directory in workspace explorer. Besides, you can select text in editor and format it to tree strings easily.
Format Text to Tree Strings
Write simple tree lines in certain syntax (see example below), select these lines, right-click on text and click
The following kinds of line syntax is supported to correctly format to tree strings:
They should be formatted to:
Note: In most cases, you can just simply undo the formatting operation using the vscode editor
Generate Tree Strings for Directory
Note: This process of walking through files is asynchronous. So if you include some heavy-nested folders,
Not available yet...
Issues & Contribution
Please feel free to submit issues if you have any questions. Contribution is also welcomed :)