Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-03

Sorted editor tabs

11 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Werner Pamler

I love the new feature that the editor notebook can display files now in multiple tab rows. Having many files open, however, it is still a bit difficult to find a particular file even if all file names are visible. What about (optionally) ordering the tabs alphabetically?

Reply by email

Martin Frb
to Werner Pamler
Werner Pamler wrote
I love the new feature that the editor notebook can display files now in multiple tab rows. Having many files open, however, it is still a bit difficult to find a particular file even if all file names are visible. What about (optionally) ordering the tabs alphabetically?

Have you right clicked a tab? the popup contains all tabs, grouped by package/project.

You can drag tabs to new position (of course that is only practical for a low number). So sort the important ones to one place.,

Or if you work with project + limited number of packages, have the project/package window open. They have (sortable) list of files, and doubleclick gets you to the editor. No need to find the tab.

Reply by email

Werner Pamler

Thanks for your answer. Maybe my idea was just nonsense...

Have you right clicked a tab? the popup contains all tabs, grouped by package/project.

I know. But these are additional clicks...

You can drag tabs to new position (of course that is only practical for a low number). So sort the important ones to one place.,

Yes, I love this...

Or if you work with project + limited number of packages, have the project/package window open. They have (sortable) list of files, and doubleclick gets you to the editor. No need to find the tab.

Yes, I put the project inspector at the right edge of the screen and select files from there. But this does not work so well with packages:
- Lazarus does not re-open with packages at next start --> I have to open packages manually every time.
- The package windows always come up in the screen center and are soon covered by the designer and editor --> I have to drag them to the side.
- And they have a width constraint which leaves them too wide for my needs. I'd even go further and wish an option to turn off the caption of the toolbar buttons of the project and package windows in order to be able to shrink their width as much as possible (In the times of super-large monitors, the screen is too small again...)

Sorry for this long list of wishes.

Reply by email

Martin Frb
to Werner Pamler
Werner Pamler wrote 16 lines
Yes, I put the project inspector at the right edge of the screen and select files from there. But this does not work so well with packages: - Lazarus does not re-open with packages at next start --> I have to open packages manually every time. - The package windows always come up in the screen center and are soon covered by the designer and editor --> I have to drag them to the side. - And they have a width constraint which leaves them too wide for my needs. I'd even go further and wish an option to turn off the caption of the toolbar buttons of the project and package windows in order to be able to shrink their width as much as possible (In the times of super-large monitors, the screen is too small again...) Sorry for this long list of wishes.

You should make feature request for those. Because I am not likely to look at them myself, sorry.
I just picked this up as long as it was/is editor related.

About the toolbar text+item => IMHO there should be a global option, and all windows should follow.

About your original request. There is actually a menu entry (menu "Windows") "Manage Source Editors"

That allows sorting, but again only one at a time. It could allow multi select. You can also keep it open, and use ti to go to each editor. Except the current layout makes it too wide.
(It can show alpha-sorted, but then it will not move the actual tabs / if it is not sorted, it will move tabs)

You can propose a patch to this. Might be accepted. (But no promise).

Reply by email

Michael Van Canneyt
to Martin Frb: Have you right clicked a tab? the popup contains all tabs, grouped by package/project.…
Martin Frb wrote 15 lines
On 21/03/2015 22:59, Werner Pamler wrote: > I love the new feature that the editor notebook can display files now in > multiple tab rows. Having many files open, however, it is still a bit > difficult to find a particular file even if all file names are visible. > What about (optionally) ordering the tabs alphabetically? Have you right clicked a tab? the popup contains all tabs, grouped by package/project. You can drag tabs to new position (of course that is only practical for a low number). So sort the important ones to one place., Or if you work with project + limited number of packages, have the project/package window open. They have (sortable) list of files, and doubleclick gets you to the editor. No need to find the tab.

Project group support would be a huge help here.

Michael.

Reply by email

Mattias Gaertner
to Michael Van Canneyt
Show quoted text 19 lines
On Sat, 21 Mar 2015, Martin Frb wrote: > On 21/03/2015 22:59, Werner Pamler wrote: >> I love the new feature that the editor notebook can display files now in >> multiple tab rows. Having many files open, however, it is still a bit >> difficult to find a particular file even if all file names are visible. >> What about (optionally) ordering the tabs alphabetically? > > Have you right clicked a tab? the popup contains all tabs, grouped by > package/project. > > You can drag tabs to new position (of course that is only practical for a low > number). So sort the important ones to one place., > > Or if you work with project + limited number of packages, have the > project/package window open. They have (sortable) list of files, and > doubleclick gets you to the editor. No need to find the tab. Project group support would be a huge help here.

How?

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 25 lines
On Sun, 22 Mar 2015 10:40:16 +0100 (CET) Michael Van Canneyt wrote: > On Sat, 21 Mar 2015, Martin Frb wrote: > >> On 21/03/2015 22:59, Werner Pamler wrote: >>> I love the new feature that the editor notebook can display files now in >>> multiple tab rows. Having many files open, however, it is still a bit >>> difficult to find a particular file even if all file names are visible. >>> What about (optionally) ordering the tabs alphabetically? >> >> Have you right clicked a tab? the popup contains all tabs, grouped by >> package/project. >> >> You can drag tabs to new position (of course that is only practical for a low >> number). So sort the important ones to one place., >> >> Or if you work with project + limited number of packages, have the >> project/package window open. They have (sortable) list of files, and >> doubleclick gets you to the editor. No need to find the tab. > > Project group support would be a huge help here. How?

Because then all relevant files are listed in 1 window. I have +/- 10 packages which I use in my project.

It's a pain to search the package window and find the right file.

Michael.

Reply by email

zeljko
to Vojtěch Čihák
Vojt?ch ?ih?k wrote 6 lines
Hi, >I love the new feature that the editor notebook can display files now in >multiple tab rows How can I activate this feature? Is it avaiable in Qt? I have Laz. trunk.

AFAIR, multiple tab rows are available only on win32 ws.

z.

Reply by email