Lej77 / bookmark-tree-for-tree-style-tab

9 stars 2 forks source link

Maintain trees as nested folders #5

Open Arthaey opened 5 years ago

Arthaey commented 5 years ago

When I have multiple levels of nested tabs, I would like for the bookmarks to preserve the entire tree, rather than flatten them into a list with separators.

Lej77 commented 5 years ago

This extension can already handle multiple levels of nested tabs. Just right click the bookmark folder where the tree structure was saved and click the Restore Tree context menu item and the tabs should be opened with the same structure as when they were saved. If you would like an easier way to browse trees in the bookmark window you can go into this extension settings page and uncheck the Save tree data with bookmark separators instead of bookmark folders. option. The option is in the Create Bookmark from Tabs section and if it is disabled each tab tree will be saved into its own folder.

Arthaey commented 5 years ago

Thanks for the quick reply!

That's good to know that it will restore the nested tree structure, but that's not what I'm talking about.

I'm talking about how the bookmarks are saved, as visible in the Bookmarks menu and the Bookmarks Library. There, the nested structure is not shown as nested folders. Instead, the first level of trees are separated by horizontal rules and further levels are flattened.

Lej77 commented 5 years ago

This extension can save tree structures either using horizontal rules (bookmark separators) or using bookmark folders. Which method is used can be configured on the options page using the Save tree data with bookmark separators instead of bookmark folders. checkbox. So you can just uncheck that checkbox to get the behavior that you want.

The reason that bookmark separators is used to store tree data by default is that: