Elazar Leibovich
Elazar Leibovich

Reputation: 33583

Equivalent of Ctrl-W for IntelliJ Mac

The cheatsheet says that for expanding selection I should use Ctrl-Up, but it doesn't work for me on the latest intelliJ, with Mac OS X 10.7.4

What is the equivalent of Ctrl-W for IntelliJ in Mac OS X?

Upvotes: 73

Views: 23254

Answers (5)

CrazyCoder
CrazyCoder

Reputation: 401877

Depends on Preferences | Keymap. The action is called Select Word at Caret.

  • Mac OS X keymap: CmdW (Cmd=Meta)
  • Mac OS X 10.5+ keymap: AltUp (Alt=Option=)

See the official IntelliJ IDEA documentation: Select code constructs

Upvotes: 120

cy lee
cy lee

Reputation: 51

you can select 'extend selection' in IDEA keyword setting

Upvotes: 0

Andrey Chiglintcew
Andrey Chiglintcew

Reputation: 21

To get all functional you can bind 2 action into Keymap[Editor Actions]:

  1. "Extend Selection" cmd+w [make more selected]
  2. "Shrink Selection" cmd+shift+w [make less selected]

Upvotes: 1

Marek
Marek

Reputation: 388

It's called now Extend selection, as mentioned before by default AltUp.

IntelliJ IDEA 2019.1 (Ultimate Edition), Build #IU-191.6183.87
macOS Mojave 10.14.3

Upvotes: 15

Vy Do
Vy Do

Reputation: 52488

Select word: option+Up arrow

(IntelliJ IDEA 2016.2.3 on macOS Sierra 10.12)

Upvotes: 26

Related Questions