alefragnani / vscode-bookmarks

Bookmarks Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks
GNU General Public License v3.0
1.7k stars 163 forks source link

[FEATURE] - "View as tree": Please offer a button to open the complete tree #608

Closed schittli closed 1 year ago

schittli commented 1 year ago

Hello

If one chooses "View as tree", then one normally has a screen with space for several dozen lines, but the tree view shows only one line per file and most of the screen space is usually unused.

One then has to additionally click a tree item to finally see the bookmarks.

It would be very useful if:

Thanks a lot, kind regards, Thomas

alefragnani commented 1 year ago

Hi @schittli ,

If you have enough space and would like the Treeview to be displayed expanded, you could simply update your user settings and add "bookmarks.sideBar.expanded": true to it. Doing so, when you switch from View as List to View as Tree, the Treeview will be always displayed expanded.

BTW, expanded trees are something that the VS Code API considers expensive, so the preference is to keep nodes collapsed, in most cases.

Hope this helps