Intellij: What is the shortcut for going to the next/previous error in the current file?

后端 未结 3 756
走了就别回头了
走了就别回头了 2020-12-17 08:45

In Eclipse, if you press CTRL+1, the cursor is set on the first error and there the IDE presents you some solutions. In IDEA, you press ALT+ENTER for some solutions, but I d

3条回答
  •  半阙折子戏
    2020-12-17 09:08

    For intellij 2016:

    1. Go to Settings \ Editor \ General;
    2. Scroll down unil "Error highlighting";
    3. Check "'next Error' action goes to high priority only";
    4. Now F2 only navigate on errors when current file contains errors. If no errors, F2 navigate on warnings;

提交回复
热议问题