Ctrl+shift+Button1 click is not doing the same as Ctrl+shift+B

Answered

In the settings>keymap I can see that to go to a "type declaration" there are two default shortcuts. Ctrl+Shift+B and Ctrl+Shift+Button1_Click so I would expect both of them to have the same behaviour: when in  a symbol, go to the type declaration of the symbol. However using the shortcut with the click opens the type declaration in a new intellij window, whereas Ctrl+Shift+B opens it in the same one. This is confusing, why do they have different behaviour?. Ultimately what I want is to make Ctrl+Shift+BUtton1_Click open declarations as another tab in the same window, just like Ctrl+Shift+B does. How can I change this behaviour??

 

 

0
5 comments

Hello,

What IDE version do you use?

 

0

Sorry. I use multiple versions. On Windows I use 2018.1.4. On Linux 2018.2.4 but this problem has happened since at least 2 years. I just never filed a bug until now

0

There is similar issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-161033. It should be fixed in 2018.3. You could try it with EAP: https://www.jetbrains.com/idea/nextversion/

1

ah yes, that's exactly it! thank you Yaroslav

0

You are wecome!

0

Please sign in to leave a comment.