New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when you reduce directory in the sidebar, hide equivalent tabs in the editor. #2216
Comments
A single directory == project is not an idiom that Geany specifically supports. It is not an idiom that would work for anything but the smallest projects, since many (most?) projects use more than one directory, see Geany's own source. If you use the sidebar documents list you can turn off the tabs and get back precious vertical real estate. |
The workbench plugin has got an option in it's context menu labeled "Open all files in sub-directory" and "Close all files in sub-directory". So it does not work automatically on reducing/collapsing a sub-directory in the tree but it's still faster than closing each single file by hand. |
Geany's built in Documents sidebar supports this, right click on a folder and click close. |
@LarsGit223 and @ntrel the OP wants to hide not close the tabs I believe. |
It has been pointed out that this may not be clear, so to expand: The "Documents" sidebar tab has the same functionality as the notebook tabs, and since its vertical not horizontal it can show many more files than the tabs can before scrolling is needed. Since it has the same functionality, when it is in use the tabs are redundant, and can be turned off (Edit->Preferences->Interface->Notebook Tabs->Show Editor Tabs) to get some vertical space back (especially on systems where the theme makes tabs very high). When the tabs are turned off, rolling up a directory in the Documents tab is effectively hiding those files as the OP requested. |
I know. |
well, what I need is a context manager. my projects or sub-projects the option to navigate in the "Documents" sidebar tab is possible, but if I then imagined a checkable option that would trigger this behavior however, one change may lead to other ... |
@sgnyjohn perhaps you could use the Geany project files since they are basically a named session and can have files from anywhere open, and switching projects switches files open. |
when you reduce directory in the sidebar, hide equivalent tabs in the editor.
in the logic that each directory is a project, would allow filtering the editor's tabs with the projects of interest.
The text was updated successfully, but these errors were encountered: