Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA: move caret to end of word

(running MacOS)

I'm used to option+left/right arrow moving the caret to the end of the word. In IntelliJ it instead moves to the next word, see below example.

enter image description here

If I'd press option+right arrow, the caret would move to below position: enter image description here

Can I somehow configure IntelliJ so that it moves to below position instead? enter image description here

like image 755
Willy G Avatar asked Jul 29 '19 08:07

Willy G


People also ask

How do I move the cursor to the end of the line in IntelliJ?

Move Caret to Line End Alt + L. Move Caret to Line Start Alt + J.

How do I change my caret in IntelliJ?

Press Ctrl+Home to set the caret at the beginning of the first line, enable the column selection mode (press Alt+Shift+Insert ), and then press Ctrl+Shift+End .

What is Ctrl K in IntelliJ?

CTRL + J : Navigate – Go To Implementations. CTRL + K : 3 things here: View Recent Files + Toggle Changed Only Files + Iterate Recent Files. CTRL + L : Navigate – Go To Declaration or Usages. ALT + H : Editor Actions – Left. ALT + J : Editor Actions – Down.

What does Ctrl Shift F do in IntelliJ?

ctrl+shift+f searching in some last used directory instead of entire project Follow. Hello, In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").


1 Answers

IntelliJ IDEA 2019.2 introduces the following new options for the Caret Movement (File | Settings (Preferences on macOS) | Editor | General):

File | Settings | Editor | General

Set the "When moving by words" option to "Always jump to word end".

like image 138
CrazyCoder Avatar answered Oct 13 '22 05:10

CrazyCoder