ActiveState Community

TabSwitcher

Posted by dafi on 2008-06-23 10:22 | Staff Pick!
0.5
Davide Ficano
Sat, 2009-01-17 08:52
  • : 4.2 - 5.*
  • : 4.0 - 5.*

TabSwitcher allows to switch between editor buffer typing buffer names

  • Show a dialog from which user can type buffer name or use arrow keys to switch to another buffer
  • Current buffer is shown in bold
  • Use glob regular expression search
  • Type an uppercase letter and search became case sentitive
  • User can assign its preferred key binding using Komodo keybinding feature
  • Bookmark list - It is possibile to show all bookmarks, remove and move between them
  • Go to last and next modification - Move cursor to last modification clicking on toolbar icon

More details at TabSwitcher

tone | Mon, 2008-08-25 14:40

How do I see the bookmark list mentioned above?

dafi | Tue, 2008-08-26 09:35

Use View|Tabs|Bookmark list menu and lower tab panel will show the bookmark list

--
dafi
Enhance KomodoEdit with MoreKomodo

ericp | Wed, 2009-01-14 13:05

Dafi,

For various reasons I've managed to split the files I'm working
on into two separate windows, and don't always know which window
a particular file is based in.

See windowManager.js for the code needed to walk the list of
Komodo windows. Any other questions, please ask.

Thanks,
Eric

dafi | Fri, 2009-01-16 09:12

I've created an alpha version with multi window support, you can download from TabSwitcher-0.5a

Any view title contains a number to distinguish windows, any better idea is welcomed because I don't like it very much.

After playing a couple with new version I've realized the flag to see "all windows" isn't necessary but as usual any hint is welcomed

Please may somebody try it?

--
dafi
Enhance KomodoEdit with MoreKomodo

dafi | Thu, 2009-01-15 10:16

So do you want to see all open files in same TabSwitcher dialog?

Should be a bit confusing, consider I work with 3-4 windows open containing 6-10 files on every window.

Maybe a flag can toogle eg "Show files in all open window" (I hope my english is correct)

It sounds easy to implement...

--
dafi
Enhance KomodoEdit with MoreKomodo

ericp | Fri, 2009-01-16 11:21

The checkbox for "Show files in current window only" could
be useful. The window numbering works for me. We're talking
about adding an identifier to each window, but it'll probably
be something internal, like a UUID, so I'd say stick with
the small integers.

I'd like the last search string I type to come up selected
when I relaunch TabSwitcher (like in Tabhunter).

I could use a checkbox to keep the box up, while I'm looking
(again, I often want this in Tabhunter as well).

I see you added case-insensitivity - nice.

Great work.

- Eric

dafi | Fri, 2009-01-16 11:42

> The checkbox for "Show files in current window only" could be useful.

mmm ok approved! I'll add ASAP but I don't want to use to much space on dialog, this can be problematic, a second checkbox can make dialog ugly

> I'd like the last search string I type to come up selected when I relaunch TabSwitcher (like in Tabhunter).

I don't like so much but sounds reasonable to add it.

> I could use a checkbox to keep the box up, while I'm looking

Do you mean a "stay on top" feature?

> I see you added case-insensitivity - nice.
The case-insensitivity is present since second version :P

PS

I've found difficult to obtain window starting from a view.
Should be useful something like koIview.parentWindow

--
dafi
Enhance KomodoEdit with MoreKomodo

dafi | Sat, 2009-01-17 08:53

2515398 Support multi window
2515401 Last search pattern comes up selected when dialog is open (can be disabled from Preferences)
2515402 Do not copy view title on editbox when tree selection changes

--
dafi
Enhance KomodoEdit with MoreKomodo