Equivalent of Ctrl-W for IntelliJ Mac

MacosIntellij Idea

Macos Problem Overview


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?

Macos Solutions


Solution 1 - Macos

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

Solution 2 - Macos

Select word: option+Up arrow

(IntelliJ IDEA 2016.2.3 on macOS Sierra 10.12)

Solution 3 - Macos

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

Solution 4 - Macos

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]

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionElazar LeibovichView Question on Stackoverflow
Solution 1 - MacosCrazyCoderView Answer on Stackoverflow
Solution 2 - MacosDao Minh ThuView Answer on Stackoverflow
Solution 3 - MacostraczovskyView Answer on Stackoverflow
Solution 4 - MacosAndrey ChiglintcewView Answer on Stackoverflow