With Sublime Text 3 object reference is opened in active tab. With the 4 version it is opened in same tab or new created tab. Maybe can I edit settings?
Can you clarify the steps you’re taking that are resulting in it not doing what you expect? If I understand you correctly (and I may not be) it sounds like you’re trying to go to the reference of symbols, but I believe that should still work the same unless you explicitly press extra keys or click the icon that indicates you want a split view.
Yeah, sorry I not specified and have mistakes with terms.
- I set layout with 2 columns (shift+alt+2),
- First column contains some interested code, second - plain,
- I activate second column: click by cursor,
- Move cursor to some method of the first column,
- Pop-up window show definition and reference of the method by a project.
And now the difference:
- 3rd version: link - code with definition/reference is opened in active column - 2nd column.
- 4th version: the link is opened in same column (new tab) or (optional) in a newly created column (automatically).
I like mechanism of 3rd version: the original code is not lost sight of.
So I cannot fix it?
I remember some changes being made in this area. If I remember correctly they were related to fixing problems with Sublime re-opening a second copy of a file when you look up a reference/definition in cases where the file was already open but in a different group.
Does this also happen in Safe Mode?
Yes, it’s the same in safe mode
I’m running into the same thing on build 4126. Your reference to:
… sounds exactly like my problem.
Here is a .gif showing exactly what I’m experiencing.
I would expect the active tab to just select the already open “delete_me.h” file that’s in the group view on the right. However neither a normal left click or ctrl+left click select it as expected.
Has there been any update to this @OdatNurd?
I assume changing the value of the
select_across_groups preference doesn’t help?
Correct. I tried toggling the value for this setting as it seems related but it had no effect.
Thanks for the reference!
Unfortunately the code has changed a bit since then so it wasn’t exactly clear how to implement that comment’s proposed changes. I wasn’t trying to spend a lot of time on this so I just blindly removed all references of
sublime.FORCE_GROUP from both
Default/switch_file.py and that seems to work:
Just my 2 cents, but given all the discussion around this it seems like it should exist as a setting.