feat: Add quick tabs controls to toolbar#1007
Conversation
|
Hi @ok-developer! Thanks for this PR. Personally, I've never been a fan of having these options in Notepad++ since there's other ways to do most of this behavior, however I know many other people find it useful, and this code really just reuses mostly existing logic and keeps everything self-contained. Plus it can be configurable later. So my first few initial asks are:
But overall I think the implementation makes sense keeping nearly everything to that single The other thing I always wrestle with is where to put the 'glue' logic. Right now, the |
- icons size adjusted to style.
|
@dail8859, You're right: it's a small improvement, but the layout of these buttons is already stuck in muscle memory. The first time, I was even a bit confused when I didn't find them) Updated.
|
|
Overall looks good. I cleaned it up a bit but kept all the functionality. Thanks for the PR! |

Description
Added quick actions for tabs manipulation: add new, list existed and close current. Same as in Notepad++.
Technical Details
MainWindow::newFile(),MainWindow::closeCurrentFile()and tabs listing nearly same workflow fromCDockAreaTitleBar::onTabsMenuAboutToShow();DockManagervia config flag.