zentol commented on code in PR #20204: URL: https://github.com/apache/flink/pull/20204#discussion_r916535118
########## docs/content/docs/flinkDev/ide_setup.md: ########## @@ -149,6 +149,12 @@ It is recommended to automatically format your code by applying the following se 8. Under "Formatting Actions", select "Optimize imports" and "Reformat file". 9. Under "File Path Inclusions", add an entry for `.*\.java` and `.*\.scala` to avoid formatting other file types. +For IntelliJ IDEA version > 2021.2: + +6. Go to "Settings" → "Tools" → "Actions on Save". +7. Under "Formatting Actions", select "Optimize imports" and "Reformat file". +8. From the "All file types list" next to "Reformat code", select Java and Scala. Review Comment: This is fine, but the list above that still mentions the old settings location. I would move this up so it's listed first. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org