IntelliJ: Move to next typo

0__ picture 0__ · Jan 28, 2014 · Viewed 21.9k times · Source

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?

Answer

Andrey picture Andrey · Jan 29, 2014

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.