Do You Use The Ctrl-W Keyboard Shortcut? 关注
By default, Ctrl-W is mapped to "Select word at caret".
Do many people use this?
Most web browsers have Ctrl-W mapped to close active tab.
Close active tab in IDEA is mapped as Ctrl-Shift-F4.
I know that I can change my keymap to whatever I want, but I am interested in what other people think about the Ctrl-W mapping.
As you can probably tell, I'd like Close Active Tab to be Ctrl-W by default. :)
I can't speak for others, but I use that a lot since ages. After having used
it a couple of years, I realized that it seems to be a common short-cut for
editors (or browsers) to close the current file.
Ctrl-Shift-F4 is a very common shortcut to close editors, too, and seems to
originate from Windows' MDI.
it's probably most used shortcut I use within Intellij ;-)
I just noticed that Ctrl-Shift-F4 doesn't actually work anyway!
Turns out that Ctrl-F4 works and is the MDI default
Select word at caret???
Surely Ctrl-N is the shortcut king! :^O
yeah. but I use it quite often
According to our statistics Ctrl+W is the most frequently used feature (among features listed in the Productivity Guide). Note that it isn't just
'Select Word', you can press it again and again to select expanding areas of the source code.
"Develop with pleasure!"
On Mon, 31 Oct 2011 16:02:01 +0400, Nikolay Chashnikov (JetBrains) wrote:
Is it described as "Syntax aware selection" in the Productivity Guide?
That's my second most used feature ("Basic code completion" comes first).
just checked, in my case:
Syntax aware selection (ctrl+w): 70.097
Basic code completion: 26,238
You are right, it's Ctrl+F4 without Shift.
Productivity Guide? What's that?
see help > productivity guide (statistics + tips)
One of my standard setups for IDEA is to remap ctrl-w (on Mac, cmd-w) to close the current editor tab...
Thanks. It was grayed out the last time I skimmed this menu and hence I
Use it ALL the time. Long live CTRL+W :)
Mine is completely blank. Everything says Never.
Are these stats gathered from zero each time you open IDEA or is it from since you installed IDEA?
What happens if you are an EAP user installing new versions all the time? Do the stats reset each time or are they saved between versions?
I believe you have to enable it , search for "Usage statistics" in settings window
this was replay to "Mine is completely blank. Everything says Never." post
The stats are stored in the config file directory. If you import your config
files when installing a new version, they will be collected across versions.
If you start with a new config directory, they'll be reset.
"Develop with Pleasure!"
On a Mac I thought it was Alt-Up arrow, at least that is what it is on mine...maybe that has something to do with me using the IdeaVIM plugin and it changing the keymap.
I think that there is a bug in the statistics.
Mine now says 875 for Syntax Aware Selection, however, I only pressed Ctrl-W 3 times to see how it works.
Is Syntax Aware Selection gathering something else and labelling it as Ctrl-W?
What is the shortcut to select word at caret for mac?
Please check here:
No, I have never used it to select text, at least not on purpose!
I find it annoying that you chose CTRL-W for this.
CTRL-W was almost universally acknowledged as the 'close window' combination, later used as 'close tab', on both Mac and Windows.
CTRL-F4 is not particularly convenient because it's a stretch with the left hand.
Big 'thumbs down' from me, I'm afraid.
Looking at the settings, I can't find a keystroke for 'Close active editor tab', only 'Close active tool window tab' (not the same) and 'Close all editor tabs'. Where can I find this?
Here, you can filter by shortcut:
Awesome, thank you!
This is probably the shortcut that I use most
I wonder, in JetBrains statistics, how many of those Ctrl+W are failed attempts to close the window. I know how many times I used Ctrl+W to close window just to find out it doesn't work :)