Quick Code Cleanup

Anna Kozlova

With IntelliJ IDEA you can quickly clean up your legacy code. If a problem occurs multiple times in a file, you do not need to manually apply a quick-fix every time — use the Fix all intention to repair them all at once.

Comments below can no longer be edited.

2 Responses to Quick Code Cleanup

  1. Brian says:

    March 19, 2009

    I don’t get a Replace with ‘for each’ option, only the Replace with while loop.

  2. Anna Kozlova says:

    March 19, 2009

    Please ensure that you have ‘for’ loop replacable with ‘for each’ inspection enabled in File|Settings|Errors and language level is set higher than 1.4. Otherwise please file a JIRA issue at http://www.jetbrains.net/jira
    Thank you


Subscribe for updates