@@ -119,13 +119,16 @@ It is recommended to automatically format your code by applying the following se
1191194 . Go to "Settings" → "Tools" → "Actions on Save".
1201205 . Under "Formatting Actions", select "Optimize imports" and "Reformat code".
1211216 . From the "All file types list" next to "Reformat code", select Java and Scala.
122+ 7 . Go to "Settings" → "Editor" → "Code Style" → "Java".
123+ 8 . Under "Imports" tab on the right side find "Class count to use import with '* '" and put there 9999.
124+ 9 . Do same with "Names count to use static import with '* '" and click "Apply".
122125
123126For earlier IntelliJ IDEA versions:
124127
125- 4 . Go to "Settings" → "Other Settings" → "Save Actions".
126- 5 . Under "General", enable your preferred settings for when to format the code, e.g. "Activate save actions on save".
127- 6 . Under "Formatting Actions", select "Optimize imports" and "Reformat file".
128- 7 . Under "File Path Inclusions", add an entry for ` .*\.java ` to avoid formatting other file types.
128+ 1 . Go to "Settings" → "Other Settings" → "Save Actions".
129+ 2 . Under "General", enable your preferred settings for when to format the code, e.g. "Activate save actions on save".
130+ 3 . Under "Formatting Actions", select "Optimize imports" and "Reformat file".
131+ 4 . Under "File Path Inclusions", add an entry for ` .*\.java ` to avoid formatting other file types.
129132
130133You can also format the whole project via Maven by using ` mvn spotless:apply ` .
131134
@@ -217,4 +220,4 @@ Go to "Settings" → "Build, Execution, Deployment" → "Compiler" → "Java Com
217220
218221This happens if Fluss dependencies are set to "provided", resulting in them not being available
219222on the classpath. You can either check "Include dependencies with 'Provided' scope" in your
220- run configuration, or create a test that calls the ` main() ` method of the example.
223+ run configuration, or create a test that calls the ` main() ` method of the example.
0 commit comments