dkandalov / tab-shifter

Plugin for IntelliJ IDEA to move and split editor tabs
https://plugins.jetbrains.com/plugin/7475
169 stars 12 forks source link

Conflict between "Stretch To Top" and "Stretch Splitter Up" #23

Open stephanoparaskeva opened 3 years ago

stephanoparaskeva commented 3 years ago

When you have both "Stretch To Top" and "Stretch Splitter Up" set to the same keybindings, then only "Stretch To Top" works, and so only tool windows can be stretched. You might say "Change the keybinding", but this works fine for all other situations (E.g "Stretch To Right").

This basically makes working with vertical panes really difficult for me.

So CMD+CTRL+K does not stretch splitter up, or make it taller. It only works for Tool Windows (E.g. It will stretch Terminal up).

This is a screenshot of my setup: Screenshot 2021-02-23 at 19 25 13

dkandalov commented 3 years ago

I like the idea of using the same shortcuts for similar actions :)

I don't think this behaviour is related to tab-shifter because it doesn't really do anything special to assign actions to IDE shortcuts. I suspect it's tool windows or specifically terminal "stealing" the keybinding.

Can you reproduce the problem with other non-tabshifter actions?

I tried assigning ctrl+cmd+K to both Stretch to Top and Stretch Splitter Up. It seems to work ok for me, i.e. it stretches splitter or if focus is in bottom tool window, then stretches tool window. Build #IU-203.7148.57, built on January 26, 2021 Runtime version: 11.0.9.1+11-b944.50 x86_64

stephanoparaskeva commented 3 years ago

@dkandalov

Thank you very much for the quick reply. 🙏🏼

What do you suggest I do to debug this, I must use intellij 2019.3 as 2020 runs badly for me.

IntelliJ IDEA 2019.3.5 (Ultimate Edition)
Build #IU-193.7288.26, built on May 6, 2020
Runtime version: 11.0.6+8-b520.66 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
dkandalov commented 3 years ago

Can you reproduce the problem with other non-tabshifter actions?

stephanoparaskeva commented 3 years ago

Can you reproduce the problem with other non-tabshifter actions?

Have not been able to reproduce, can't figure out why this is occurring