New issue
Advanced search Search tips

Issue 607564 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Add shortcut key to easily close open files in the sources panel

Reported by jaredwi...@gmail.com, Apr 28 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36

Steps to reproduce the problem:
1. Open devtools to the sources panel
2. Open a bunch of files in the code editor so there are some that aren't visible (this happens usually while debugging an application a whole bunch of files open)
3. Click the x to close the files

What is the expected behavior?
You should be able to close the tabs in the editor more easily either by using a shortcut key (most code editors and programs with tabs use Cmd/Cntrl + W), or the tabs should work more like how tabs in Chrome work where you don't have to jump around with your mouse to click on the x to close the tab.

What went wrong?
It is not a very great experience needing to close a whole bunch of open files in the tabs of the code editor. Even if it is just a couple of tabs are annoying to close. If the names of the files are different lengths the tabs jump around and you have to move your mouse to click the x. 

Did this work before? No 

Chrome version: 50.0.2661.86  Channel: stable
OS Version: OS X 10.10.2
Flash Version: Shockwave Flash 21.0 r0

I propose using this
Mac: Cmd + Shift + W 
Windows: Ctrl + Shift + W

Cmd W would close the window/tab of the browser or undocked devtools, and Cmd Shift W doesn't seem to be used yet.
 
ctrl+shift+w is used to close the current window.
Ahh, so it is.... Maybe instead Opt+W / Alt+W 
I'm not sure if Alt+W on windows does anything already, but on Mac it does not as far as I can tell.

Comment 3 by allada@chromium.org, Apr 28 2016

Status: WontFix (was: Unconfirmed)
There is no simple answer to solving this without a lot of work on our end.

see: http://crbug.com/174309
Simply making the tabs have a fixed width would suffice.
Yea a fixed width or a shortcut would be fine.




*J**ared Williams*


*Front-end DeveloperGoogle Developer Expert*

www.Anti-Code.com <http://anti-code.com/>
 Issue 614145  has been merged into this issue.

Sign in to add a comment