Sublime Text 3 doesn't show separate files in tabs, how to switch between files?

0

If I open two files in Sublime Text 3 on macOS, the tab bar at the top only shows one item, i.e. just the last file I opened.

There is no visual feedback that the first file is also still open, and I can't seem to switch between them. Ctrl+Tab doesn't switch back and forth (like it does in other software). The only way is clicking on the Window menu, that still shows the other file, and then manually selecting (clicking) it from there does work.

For example, if I first open foo.txt and then bar.txt I only see this:

screenshot

Note that if I just open foo.txt and then click +N to start a new file, it does show up as a separate tab next to the previously opened file:

screenshot

Is there a way to configure Sublime Text 3 to show all open files in the tab bar at the top?

RocketNuts

Posted 2018-10-11T12:04:22.657

Reputation: 596

How do you open the files? – idleberg – 2018-10-11T13:32:33.393

@idleberg Either by going to the particular file in Finder and doubleclicking it (Sublime Text 3 is my default editor), or selecting a file in Finder and pressing ⌘↓ or right-clicking the file and selecting Open, or Open With > Sublime Text 3, or from the terminal using open -a /Applications/Sublime\ Text.app foo.txt (well, using an alias for the open -a /Applications/Sublime\ Text.app part). The behavior is the same in all cases. – RocketNuts – 2018-10-11T14:21:38.580

@AulisRonkainen Yes, thanks, that solved it! – RocketNuts – 2018-10-11T18:42:41.347

Very good. You're welcome. That was quite easy :) – Aulis Ronkainen – 2018-10-12T03:02:25.550

Answers

0

Solution found thanks to @AulisRonkainen in this StackOverflow answer:

In preferences, add "open_files_in_new_window": false

RocketNuts

Posted 2018-10-11T12:04:22.657

Reputation: 596