Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ: Move to next typo

IntelliJ IDEA has an inspection that checks for spelling. In the analysis overview, I can see how many spelling mistakes were found, e.g. 12 typos found. In the code they are highlighted using a wavy green line.

However, I find it very hard to look manually for those wavy lines. Is there a keyboard shortcut or a search function which will automatically skip to the next highlighted typo?

like image 243
0__ Avatar asked Jan 28 '14 11:01

0__


People also ask

How do I get to next error in IntelliJ?

Navigate between errors or warnings To jump to the next or previous found issue in your code, press F2 or Shift+F2 respectively. Alternatively, from the main menu, select Navigate | Next / Previous Highlighted Error. IntelliJ IDEA places the caret immediately before the code issue.

What is Ctrl Alt L in IntelliJ?

Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.

How do I go to a specific line in IntelliJ?

Use Command + L for Mac OS X. IntellijIDEA default keymap reference Here is the IntellijIDEA default keymap reference. This is applicable to Android Studio too.

How do I go back and forth in IntelliJ?

Use ⌘[ (macOS), Ctrl+Alt+Left Arrow (Windows/Linux) to navigate backwards and ⌘] (macOS), Ctrl+Alt+Right Arrow (Windows/Linux), to navigate forwards.


1 Answers

F2 and Shift + F2 shortcuts will navigate you to the Next / Previous highlighted error. You need to configure the error navigation first to Go to next problem instead of default Go to high priority problems option(from the context menu of editor right side bar):

enter image description here

See help for details. Another option is to use double click (F4 shortcut) from the Inspection Results window to go to the source.

like image 85
Andrey Avatar answered Oct 18 '22 18:10

Andrey