This is an automated email from the ASF dual-hosted git repository.
ipolyzos pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git
The following commit(s) were added to refs/heads/main by this push:
new 18f428b9d [hotfix][docs] Add steps to avoid import star (#1840)
18f428b9d is described below
commit 18f428b9de72ab588786dda44929f77944713a5d
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Sun Oct 19 16:50:02 2025 +0200
[hotfix][docs] Add steps to avoid import star (#1840)
---
website/community/dev/ide-setup.md | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/website/community/dev/ide-setup.md
b/website/community/dev/ide-setup.md
index b07b872fb..3d157a5c5 100644
--- a/website/community/dev/ide-setup.md
+++ b/website/community/dev/ide-setup.md
@@ -119,13 +119,16 @@ It is recommended to automatically format your code by
applying the following se
4. Go to "Settings" → "Tools" → "Actions on Save".
5. Under "Formatting Actions", select "Optimize imports" and "Reformat code".
6. From the "All file types list" next to "Reformat code", select Java and
Scala.
+7. Go to "Settings" → "Editor" → "Code Style" → "Java".
+8. Under "Imports" tab on the right side find "Class count to use import with
'*'" and put there 9999.
+9. Do same with "Names count to use static import with '*'" and click "Apply".
For earlier IntelliJ IDEA versions:
-4. Go to "Settings" → "Other Settings" → "Save Actions".
-5. Under "General", enable your preferred settings for when to format the
code, e.g. "Activate save actions on save".
-6. Under "Formatting Actions", select "Optimize imports" and "Reformat file".
-7. Under "File Path Inclusions", add an entry for `.*\.java` to avoid
formatting other file types.
+1. Go to "Settings" → "Other Settings" → "Save Actions".
+2. Under "General", enable your preferred settings for when to format the
code, e.g. "Activate save actions on save".
+3. Under "Formatting Actions", select "Optimize imports" and "Reformat file".
+4. Under "File Path Inclusions", add an entry for `.*\.java` to avoid
formatting other file types.
You can also format the whole project via Maven by using `mvn spotless:apply`.
@@ -217,4 +220,4 @@ Go to "Settings" → "Build, Execution, Deployment" →
"Compiler" → "Java Com
This happens if Fluss dependencies are set to "provided", resulting in them
not being available
on the classpath. You can either check "Include dependencies with 'Provided'
scope" in your
-run configuration, or create a test that calls the `main()` method of the
example.
\ No newline at end of file
+run configuration, or create a test that calls the `main()` method of the
example.