Search code examples
javaeclipseintellij-ideaintellij-14

Intellij IDEA: highlighting loop break points


In Eclipse, there's a possibility to highlight loop break points: I can place the cursor onto the break;, and the very loop it breaks out from will be highlighted:

enter image description here

Still, this functionality seems to be missing from IDEA:

enter image description here

Is there any hidden preference or a 3rd party plug-in which enables the same for IDEA?


Solution

  • This feature has been introduced in IntelliJ 2018.2:

    When you place a caret at the break or continue keyword, IntelliJ IDEA highlights the for or while keyword of the corresponding loop.


    (source: cloudfront.net)