Sublime Forum

Consistent behavior when creating new window from the executables on Windows

#1

Env

System: Windows 10
Sublime: 3104

Issue

If an empty window (no tab) was the last active Sublime window, calling “subl.exe -n” will focus that window again.

Expected behavior

The command “subl.exe -n” or “sublime_text.exe -n” should open a new window, even if an empty window already exists.

Bonus Round

I also suggest that within a virtual desktop, if no Sublime window exists, calling “subl.exe” should open a new window, as opposed to focusing an already existing one in another virtual desktop.

0 Likes