Home Download Buy Blog Forum Support

My main gripes about ST (potential options/features)

My main gripes about ST (potential options/features)

Postby seiyria on Fri Jun 28, 2013 1:25 pm

I've had a few minor annoyances with Sublime. I've looked around and no one else seems to have problems with these things.. so I signed up to actually post about it, and hopefully these could get made into options instead of default behaviour?

Child windows not closing when tabs are removed

Start with this, drag a new tab to make this, and then drag that second tab back into its origin window, leaving you with this. This is incredibly annoying behaviour, since I have to close the second window manually... and after a lot of accidental (sometimes my cpu hangs when switching tabs) dragging out of a window, it adds up. In that same vein.. Is it possible to lock tabs to a certain bar to prevent them from being dragged out? I suppose this would be an acceptable alternative, though I think both in tandem would be better than one or the other.

Ctrl+Shift+W closes the program, not all of the tabs
When I want to close a lot of tabs quickly, I use ctrl+shift+w... but instead of closing the tabs, it closes sublime. I'd really just like an option to say "no, don't close sublime, just close all of my tabs."

Hopefully I'm not the only one who thinks this!
seiyria
 
Posts: 2
Joined: Fri Jun 28, 2013 1:16 pm

Re: My main gripes about ST (potential options/features)

Postby Vortico on Wed Jul 03, 2013 6:23 pm

1. I agree. This is slightly annoying, but I feel the solution should be instead for Sublime Text to close the window if its last and only tab is dragged off and onto another window. Google Chrome uses this behavior, so you can never have a window with an empty state (no tabs).

Another related detail is that dragging tabs from a project creates a new window with no opened project. I would assume this is because you can only have one window per project. I'm not sure if this is undesirable to most people, but I thought it should be mentioned.

2. There is a Close All Files menu item under File. If there is a way to hook a key command to this action, I've love to hear about it, but I haven't looked very hard.
Vortico
 
Posts: 8
Joined: Fri Jul 13, 2012 1:12 am

Re: My main gripes about ST (potential options/features)

Postby layne on Wed Jul 03, 2013 6:57 pm

Child Windows: Did you try the following option?
Code: Select all
"close_windows_when_empty": true,


Default is:
Code: Select all
// Set to true to close windows as soon as the last file is closed, unless
// there's a folder open within the window. This is always enabled on OS X,
// changing it here won't modify the behavior.
"close_windows_when_empty": false,
// my Blog //
layne
 
Posts: 39
Joined: Tue Jan 04, 2011 3:00 pm
Location: NRW // GER

Re: My main gripes about ST (potential options/features)

Postby icylace on Wed Jul 03, 2013 11:32 pm

I use
Code: Select all
"close_windows_when_empty": true,
but that only handles the case of closing the last tab in a window. It doesn't handle the case when that last tab is dragged into another window.
icylace
 
Posts: 46
Joined: Mon Jan 14, 2013 7:24 am

Re: My main gripes about ST (potential options/features)

Postby seiyria on Wed Aug 07, 2013 11:28 pm

layne wrote:Child Windows: Did you try the following option?
Code: Select all
"close_windows_when_empty": true,


Default is:
Code: Select all
// Set to true to close windows as soon as the last file is closed, unless
// there's a folder open within the window. This is always enabled on OS X,
// changing it here won't modify the behavior.
"close_windows_when_empty": false,


Yes, I have tried this. As icylace said, this doesn't solve the problem.
seiyria
 
Posts: 2
Joined: Fri Jun 28, 2013 1:16 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests

cron