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. :)

评论操作 固定链接

By default, Ctrl-W is mapped to "Select word at caret".
Do many people use this?


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.

Close active tab in IDEA is mapped as Ctrl-Shift-F4.


Ctrl-Shift-F4 is a very common shortcut to close editors, too, and seems to
originate from Windows' MDI.

Tom

0
评论操作 固定链接

it's probably most used shortcut I use within Intellij ;-)

3
评论操作 固定链接

I just noticed that Ctrl-Shift-F4 doesn't actually work anyway!
Turns out that Ctrl-F4 works and is the MDI default
http://support.microsoft.com/kb/126449

0
评论操作 固定链接

No!
Select word at caret???
Surely Ctrl-N is the shortcut king! :^O

0
评论操作 固定链接

yeah. but I use it quite often

0
评论操作 固定链接

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.

--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
评论操作 固定链接

On Mon, 31 Oct 2011 16:02:01 +0400, Nikolay Chashnikov (JetBrains) wrote:

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.


Is it described as "Syntax aware selection" in the Productivity Guide? 
That's my second most used feature ("Basic code completion" comes first).

--
Mark Scott
mark@codebrewer.com

0
评论操作 固定链接

just checked, in my case:
Syntax aware selection (ctrl+w): 70.097
Basic code completion: 26,238

0
评论操作 固定链接

Turns out that Ctrl-F4 works and is the MDI default


You are right, it's Ctrl+F4 without Shift.

Tom

0
评论操作 固定链接

Productivity Guide? What's that?

Tom

0
评论操作 固定链接

see help > productivity guide (statistics + tips)

0
评论操作 固定链接

One of my standard setups for IDEA is to remap ctrl-w (on Mac, cmd-w) to close the current editor tab...

0
评论操作 固定链接

Thanks. It was grayed out the last time I skimmed this menu and hence I
overlooked it.

Tom

0
评论操作 固定链接

Use it ALL the time. Long live CTRL+W :)

  • Syntax Aware Selection (Ctrl+W): 34,556 times (once in 6 minutes)
  • Basic Code Complete: 32,526 times (once in 6 minutes)
  • Smart Completion: 4,815 times (once in 25 minutes)
  • Variable name completion: 8,419 times (once in 9 minutes)
  • Go to Class (Ctrl+N):  6,374 times (once in 28 minutes)
0
评论操作 固定链接

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?

0
评论操作 固定链接

I believe you have to enable it , search for "Usage statistics" in settings window

0
评论操作 固定链接

this was replay to "Mine is completely blank. Everything says Never." post

0
评论操作 固定链接

Hello opticyclic,

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.

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?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
评论操作 固定链接

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.

0
评论操作 固定链接

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?

http://youtrack.jetbrains.net/issue/IDEA-76465

0
评论操作 固定链接

What is the shortcut to select word at caret for mac?

0
评论操作 固定链接

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.

2
评论操作 固定链接

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?

0
评论操作 固定链接

Here, you can filter by shortcut:

1
评论操作 固定链接

This is probably the shortcut that I use most

0
评论操作 固定链接

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 :)

 

0

请先登录再写评论。