afedulov commented on code in PR #20204:
URL: https://github.com/apache/flink/pull/20204#discussion_r916748524


##########
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:
   I thought about doing it that way but there is an "umbrella" statement that 
the whole section is applicable to 2020.3. 
   
https://github.com/afedulov/flink/blob/hotfix-intellij/docs/content/docs/flinkDev/ide_setup.md?plain=1#L65
   Do you know if the rest is applicable verbatim in the newer versions? Then 
we can bump that statement to 2021.2, move the new section up and the existing 
under the "For older IntelliJ version:" paragraph.



-- 
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

Reply via email to