16 comments
Avatar
Permanently deleted user

Ctrl-Tab is used by IDEA to switch between splitted editor panes.

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"



"Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
news:1638465.1053132399272.JavaMail.jrun@is.intellij.net...

http://www.intellij.org/twiki/bin/view/Main/TabSwitchPlugin

>

http://sourceforge.net/projects/tz-ip/

>

Screenshot:

>
http://www.intellij.org/twiki/pub/Main/TabSwitchPlugin/TabSwitch-0.5-screenshot.jpg
>

0.5 (#701, #815) - May 16, 2003

>

- Bug NPE with tab limit set to 1.
- Bug Sometimes the list has more entries than open files.
- RFE Icons with locks for read-only files.

>
>

Timur



0
Avatar
Permanently deleted user

I'll map the plugin's action by default to Ctrl-BackQuote (`, ~) or Alt-BackQuote. BTW, it is currently possible to remap it.


Timur

Ctrl-Tab is used by IDEA to switch between splitted
editor panes.

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

TabSwitch is currently remapping the shortcut without having to change the
keymap from Default to editable. This is both good and bad, since you are
overwriting the default behaviour of the IDE but it's still confusing how to
change it because the keymap editor does not allow you to change the default
keymap. I was myself a little confused when it silently remapped the keys
(Camel did it so much better :).

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"



"Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
news:15456732.1053279683901.JavaMail.jrun@is.intellij.net...

I'll map the plugin's action by default to Ctrl-BackQuote (`, ~) or

Alt-BackQuote. BTW, it is currently possible to remap it.
>
>

Timur

>
>

Ctrl-Tab is used by IDEA to switch between splitted
editor panes.

>

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>


0
Avatar
Permanently deleted user

I just didn't know that Ctrl-Tab is used anywhere (it's not mappable). You can try map some action (say, Other->Toggle Read-Only Attribute) to Ctrl-Tab. Since it's not mapped you're not warned that you're overriding some other action. After that the default Ctrl-Tab behavior gets disabled.

So currently if a plugin's action is mapped by default to Ctrl-Tab, the action will be active after the deployment. In contrast if a plugin's action is mapped by default to Ctrl-LeftArrow or Ctrl-Alt-L, it will be disabled after the deployment with the regular action is still being active (the Camel plugin's trick: unregister both actions and then register both but register its own first :) ).

If Ctrl-Tab (switching between panes) were in the keymap, I wouldn't use it. I didn't mean to override any actions. Anyway I shouldn't have used Ctrl-Tab since it's a Swing shortcut (which is most likely the case with splitted panes).


Timur

TabSwitch is currently remapping the shortcut without
having to change the
keymap from Default to editable. This is both good
and bad, since you are
overwriting the default behaviour of the IDE but it's
still confusing how to
change it because the keymap editor does not allow
you to change the default
keymap. I was myself a little confused when it
silently remapped the keys
(Camel did it so much better :).

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Well, since Ctrl-Tab is a "standard" keystroke for Swing to transfer focus
it might be used in a lot of places and is managed by the components at a
low level. For example it might transfer focus between option groups in
form dialogs. It's the same as the Tab key basically, a focus management
keystroke.

--

Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"



"Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
news:20278306.1053284838599.JavaMail.jrun@is.intellij.net...

I just didn't know that Ctrl-Tab is used anywhere (it's not mappable). You

can try map some action (say, Other->Toggle Read-Only Attribute) to
Ctrl-Tab. Since it's not mapped you're not warned that you're overriding
some other action. After that the default Ctrl-Tab behavior gets disabled.
>

So currently if a plugin's action is mapped by default to Ctrl-Tab, the

action will be active after the deployment. In contrast if a plugin's action
is mapped by default to Ctrl-LeftArrow or Ctrl-Alt-L, it will be disabled
after the deployment with the regular action is still being active (the
Camel plugin's trick: unregister both actions and then register both but
register its own first :) ).
>

If Ctrl-Tab (switching between panes) were in the keymap, I wouldn't use

it. I didn't mean to override any actions. Anyway I shouldn't have used
Ctrl-Tab since it's a Swing shortcut (which is most likely the case with
splitted panes).
>
>

Timur

>
>

TabSwitch is currently remapping the shortcut without
having to change the
keymap from Default to editable. This is both good
and bad, since you are
overwriting the default behaviour of the IDE but it's
still confusing how to
change it because the keymap editor does not allow
you to change the default
keymap. I was myself a little confused when it
silently remapped the keys
(Camel did it so much better :).

>

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>


0

Thank YOU! i love this plugin.

0
Avatar
Permanently deleted user

Please do NOT map to anything else than to keys, that are available on ALL
keyboards, like , , , , <0>..<9>, .., ..]]>. Although there is the possibility to change the default
mapping, it should never be bound to a special keyboard layout only,
because it would require to be changed on other keyboards.

Tom


On Sun, 18 May 2003 17:41:23 +0000 (UTC), Timur Zambalayev
<itnadmin@jetbrains.com> wrote:

I'll map the plugin's action by default to Ctrl-BackQuote (`, ~) or Alt-
BackQuote. BTW, it is currently possible to remap it.

>
>

Timur

>
>
>> Ctrl-Tab is used by IDEA to switch between splitted
>> editor panes.
>>
>> -- Eugene Belyaev, CTO
>> JetBrains, Inc
>> http://www.intellij.com
>> "Develop with pleasure!"
>
>


0
Avatar
Permanently deleted user

Thanks, again.

One thing somewhat bugging me is the way editor history is handled. Please consider this scenario:

1. Open three files a, b, c
2. CTRL-Tab the sequence (c), b, a, b, a, b
3. Using "Back" results in (b), a, b, a, b, c

I'm thinking that having a "Back" history of (b), a, c would be superior, as going back through the CTRL-Tab cycles is quite meaningless.

But I'm afraid changing this behavior would involve changes in Idea itself.

0
Avatar
Permanently deleted user

Why not map TabSwitch to CtrlRight Arrow instead of CtrlTab and
CtrlLeftArrow instead of CtrlShift+Tab? by default? I guess that people
like me that used Visual C+/J+ for a long time are just used to Ctrl+Tab
for doing that.

Amnon

"Eugene Belyaev" <beg@intellij.com> wrote in message
news:ba942s$698$1@is.intellij.net...

Well, since Ctrl-Tab is a "standard" keystroke for Swing to transfer focus
it might be used in a lot of places and is managed by the components at a
low level. For example it might transfer focus between option groups in
form dialogs. It's the same as the Tab key basically, a focus management
keystroke.

>

--

>

Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>
>
>

"Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
news:20278306.1053284838599.JavaMail.jrun@is.intellij.net...

I just didn't know that Ctrl-Tab is used anywhere (it's not mappable).

You

can try map some action (say, Other->Toggle Read-Only Attribute) to
Ctrl-Tab. Since it's not mapped you're not warned that you're overriding
some other action. After that the default Ctrl-Tab behavior gets disabled.
>

So currently if a plugin's action is mapped by default to Ctrl-Tab, the

action will be active after the deployment. In contrast if a plugin's

action

is mapped by default to Ctrl-LeftArrow or Ctrl-Alt-L, it will be disabled
after the deployment with the regular action is still being active (the
Camel plugin's trick: unregister both actions and then register both but
register its own first :) ).
>

If Ctrl-Tab (switching between panes) were in the keymap, I wouldn't use

it. I didn't mean to override any actions. Anyway I shouldn't have used
Ctrl-Tab since it's a Swing shortcut (which is most likely the case with
splitted panes).
>
>

Timur

>
>

TabSwitch is currently remapping the shortcut without
having to change the
keymap from Default to editable. This is both good
and bad, since you are
overwriting the default behaviour of the IDE but it's
still confusing how to
change it because the keymap editor does not allow
you to change the default
keymap. I was myself a little confused when it
silently remapped the keys
(Camel did it so much better :).

>

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>

>
>


0
Avatar
Permanently deleted user

Maybe because Ctrl-LeftArrow/RightArrow jump from word to word, even in
VC+/VJ+?

Tom

On Mon, 19 May 2003 09:37:53 -0600, Amnon I. Govrin
<agovrin@freshwater.com> wrote:

Why not map TabSwitch to CtrlRight Arrow instead of CtrlTab and
CtrlLeftArrow instead of CtrlShift+Tab? by default? I guess that people
like me that used Visual C+/J+ for a long time are just used to
Ctrl+Tab
for doing that.

>

Amnon

>

"Eugene Belyaev" <beg@intellij.com> wrote in message
news:ba942s$698$1@is.intellij.net...

>> Well, since Ctrl-Tab is a "standard" keystroke for Swing to transfer
>> focus
>> it might be used in a lot of places and is managed by the components at
>> a
>> low level. For example it might transfer focus between option groups in
>> form dialogs. It's the same as the Tab key basically, a focus
>> management
>> keystroke.
>>
>> --
>>
>> Eugene Belyaev, CTO
>> JetBrains, Inc
>> http://www.intellij.com
>> "Develop with pleasure!"
>>
>>
>>
>> "Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
>> news:20278306.1053284838599.JavaMail.jrun@is.intellij.net...
>> > I just didn't know that Ctrl-Tab is used anywhere (it's not mappable).

You

>> can try map some action (say, Other->Toggle Read-Only Attribute) to
>> Ctrl-Tab. Since it's not mapped you're not warned that you're overriding
>> some other action. After that the default Ctrl-Tab behavior gets
>> disabled.
>> >
>> > So currently if a plugin's action is mapped by default to Ctrl-Tab,
>> the
>> action will be active after the deployment. In contrast if a plugin's

action

>> is mapped by default to Ctrl-LeftArrow or Ctrl-Alt-L, it will be
>> disabled
>> after the deployment with the regular action is still being active (the
>> Camel plugin's trick: unregister both actions and then register both but
>> register its own first :) ).
>> >
>> > If Ctrl-Tab (switching between panes) were in the keymap, I wouldn't
>> use
>> it. I didn't mean to override any actions. Anyway I shouldn't have used
>> Ctrl-Tab since it's a Swing shortcut (which is most likely the case with
>> splitted panes).
>> >
>> >
>> > Timur
>> >
>> >
>> > > TabSwitch is currently remapping the shortcut without
>> > > having to change the
>> > > keymap from Default to editable. This is both good
>> > > and bad, since you are
>> > > overwriting the default behaviour of the IDE but it's
>> > > still confusing how to
>> > > change it because the keymap editor does not allow
>> > > you to change the default
>> > > keymap. I was myself a little confused when it
>> > > silently remapped the keys
>> > > (Camel did it so much better :).
>> > >
>> > > --
>> > > Eugene Belyaev, CTO
>> > > JetBrains, Inc
>> > > http://www.intellij.com
>> > > "Develop with pleasure!"
>> >
>>
>>
>
>
>


0
Avatar
Permanently deleted user

Uh, please keep the Ctrl-Tab mapping (or at least the option for it!).
That's what I"m used to, and that's what I want!

"Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
news:20278306.1053284838599.JavaMail.jrun@is.intellij.net...

I just didn't know that Ctrl-Tab is used anywhere (it's not mappable). You

can try map some action (say, Other->Toggle Read-Only Attribute) to
Ctrl-Tab. Since it's not mapped you're not warned that you're overriding
some other action. After that the default Ctrl-Tab behavior gets disabled.
>

So currently if a plugin's action is mapped by default to Ctrl-Tab, the

action will be active after the deployment. In contrast if a plugin's action
is mapped by default to Ctrl-LeftArrow or Ctrl-Alt-L, it will be disabled
after the deployment with the regular action is still being active (the
Camel plugin's trick: unregister both actions and then register both but
register its own first :) ).
>

If Ctrl-Tab (switching between panes) were in the keymap, I wouldn't use

it. I didn't mean to override any actions. Anyway I shouldn't have used
Ctrl-Tab since it's a Swing shortcut (which is most likely the case with
splitted panes).
>
>

Timur

>
>

TabSwitch is currently remapping the shortcut without
having to change the
keymap from Default to editable. This is both good
and bad, since you are
overwriting the default behaviour of the IDE but it's
still confusing how to
change it because the keymap editor does not allow
you to change the default
keymap. I was myself a little confused when it
silently remapped the keys
(Camel did it so much better :).

>

--
Eugene Belyaev, CTO
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

>


0
Avatar
Permanently deleted user

Oh, crap! You are right! Shame on me to forget.

Amnon
"Thomas Singer" <thomas.singer@noregnisspam.de> wrote in message
news:oprpffbmaomxlxr0@news.intellij.net...

Maybe because Ctrl-LeftArrow/RightArrow jump from word to word, even in
VC+/VJ+?

>

Tom

>

On Mon, 19 May 2003 09:37:53 -0600, Amnon I. Govrin
<agovrin@freshwater.com> wrote:

>

Why not map TabSwitch to CtrlRight Arrow instead of CtrlTab and
CtrlLeftArrow instead of CtrlShift+Tab? by default? I guess that

people

like me that used Visual C+/J+ for a long time are just used to
Ctrl+Tab
for doing that.

>

Amnon

>

"Eugene Belyaev" <beg@intellij.com> wrote in message
news:ba942s$698$1@is.intellij.net...

>> Well, since Ctrl-Tab is a "standard" keystroke for Swing to transfer
>> focus
>> it might be used in a lot of places and is managed by the components at
>> a
>> low level. For example it might transfer focus between option groups

in

>> form dialogs. It's the same as the Tab key basically, a focus
>> management
>> keystroke.
>>
>> --
>>
>> Eugene Belyaev, CTO
>> JetBrains, Inc
>> http://www.intellij.com
>> "Develop with pleasure!"
>>
>>
>>
>> "Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
>> news:20278306.1053284838599.JavaMail.jrun@is.intellij.net...
>> > I just didn't know that Ctrl-Tab is used anywhere (it's not

mappable).

You

>> can try map some action (say, Other->Toggle Read-Only Attribute) to
>> Ctrl-Tab. Since it's not mapped you're not warned that you're

overriding

>> some other action. After that the default Ctrl-Tab behavior gets
>> disabled.
>> >
>> > So currently if a plugin's action is mapped by default to Ctrl-Tab,
>> the
>> action will be active after the deployment. In contrast if a plugin's

action

>> is mapped by default to Ctrl-LeftArrow or Ctrl-Alt-L, it will be
>> disabled
>> after the deployment with the regular action is still being active (the
>> Camel plugin's trick: unregister both actions and then register both

but

>> register its own first :) ).
>> >
>> > If Ctrl-Tab (switching between panes) were in the keymap, I wouldn't
>> use
>> it. I didn't mean to override any actions. Anyway I shouldn't have used
>> Ctrl-Tab since it's a Swing shortcut (which is most likely the case

with

>> splitted panes).
>> >
>> >
>> > Timur
>> >
>> >
>> > > TabSwitch is currently remapping the shortcut without
>> > > having to change the
>> > > keymap from Default to editable. This is both good
>> > > and bad, since you are
>> > > overwriting the default behaviour of the IDE but it's
>> > > still confusing how to
>> > > change it because the keymap editor does not allow
>> > > you to change the default
>> > > keymap. I was myself a little confused when it
>> > > silently remapped the keys
>> > > (Camel did it so much better :).
>> > >
>> > > --
>> > > Eugene Belyaev, CTO
>> > > JetBrains, Inc
>> > > http://www.intellij.com
>> > > "Develop with pleasure!"
>> >
>>
>>
>
>
>

>
>


0
Avatar
Permanently deleted user

Looks like we need to change the default mapping. It's a Swing shortcut (http://java.sun.com/products/jlf/ed2/book/Appendix.A.html). It's like Tab but also can be used where Tab is accepted (e.g. text pane; one of the uses in IDEA: switching between two views of the same file/editor).

Change to what? Currently, I think it will be Alt-A.

BTW, it's quite easy to change the mappings. I updated the instructions at http://www.intellij.org/twiki/bin/view/Main/TabSwitchPlugin (Key Mappings section)


Timur

0
Avatar
Permanently deleted user

As long as we can still map it to CtrlTab, CtrlShift+Tab like many of us
are used to. I really don't use the splitter, especially with the
availability of the ContextViewer plugin.

Amnon

"Timur Zambalayev" <itnadmin@jetbrains.com> wrote in message
news:2776593.1053379696145.JavaMail.jrun@is.intellij.net...

Looks like we need to change the default mapping. It's a Swing shortcut

(http://java.sun.com/products/jlf/ed2/book/Appendix.A.html). It's like Tab
but also can be used where Tab is accepted (e.g. text pane; one of the uses
in IDEA: switching between two views of the same file/editor).
>

Change to what? Currently, I think it will be Alt-A.

>

BTW, it's quite easy to change the mappings. I updated the instructions at

http://www.intellij.org/twiki/bin/view/Main/TabSwitchPlugin (Key Mappings
section)
>
>

Timur

>


0
Avatar
Permanently deleted user

As long as we can still map it to CtrlTab, CtrlShift+Tab like many of
us
are used to. I really don't use the splitter, especially with the
availability of the ContextViewer plugin.


+1

0
Avatar
Permanently deleted user

TabSwitchPlugin doesn't work in #816 (changed method in OpenAPI). I'll release a new version today.


Timur

0

Please sign in to leave a comment.