+7
Corrigé

Open file from Finder in new tab. not new window

Ross Smith il y a 13 ans mis à jour par Jon Skinner il y a 12 ans 1

On OSX, if I double click a file in Finder or drop it onto the dock icon, ST2 always opens a new window. I'd like it to open as a new tab in the existing window (if there is one); the only way to do this at the moment is to drag the file onto the existing window. I've tagged this as "bug" because I understood that the "open_files_in_new_window": false setting was supposed to do this, but it doesn't seem to work.

Solution

Solution
Corrigé

This is what open_files_in_new_window does - check you've entered it into the right location (it's a global setting, rather than a file setting).


The time a new window should be created with open_files_in_new_window set to false is when Sublime Text is on a different desktop to the the current one

Solution
Corrigé

This is what open_files_in_new_window does - check you've entered it into the right location (it's a global setting, rather than a file setting).


The time a new window should be created with open_files_in_new_window set to false is when Sublime Text is on a different desktop to the the current one

Thanks, this makes its usage much more friendly! I would rather expect this as default behavior.