Sublime Forum

Double-click file opens new ST2 even if ST2 already is open

#1

In Windows 7, I have .php files set to open in Sublime Text 2 by default. If I already have ST2 open and I double-click a .php file in Explorer, it opens a new ST2. How can I change this so it opens in the current ST2? I only ever want to have one ST2 window/instance.

0 Likes

#2
 "open_files_in_new_window": false
0 Likes

#3

According to my SublimeText2 this is for OSX only. I’m in Windows:

// OS X only: When files are opened from finder, or by dragging onto the // dock icon, this controls if a new window is created or not. "open_files_in_new_window": true,

0 Likes

#4

Anyone have any clue on how to fix this problem?

0 Likes

#5

For ST2 (just like in ST3) the settings false/true is buggy+++.

Sierra works with ST the way it is, and that seems to work well.

Double-click, you get a new window.
Want any particular window, then drag and drop, from anywhere.
Plant on Dock, OS remembers your preference.

jakobud, that’s a wild user icon ~ hanging off Everest in a tux?!

0 Likes