Shmakov Alexey created CAMEL-19116:
--------------------------------------

             Summary: remove AvoidStarImport from CheckStyle to be friendly for 
IDEA's users
                 Key: CAMEL-19116
                 URL: https://issues.apache.org/jira/browse/CAMEL-19116
             Project: Camel
          Issue Type: Improvement
          Components: build system
            Reporter: Shmakov Alexey


Please, remove AvoidStarImport from CheckStyle 
([https://checkstyle.sourceforge.io/config_imports.html#AvoidStaticImport)]

In Intelij Idea by default enabled wildcard imports for 5 classes from same 
package

[https://www.jetbrains.com/help/idea/creating-and-optimizing-imports.html#disable-wildcard-imports]

 

I think, we need to either remove this restriction, or add a description of the 
settings for IDEA in the instructions for contributors. This IDE is very 
popular and for me personally it was not at all obvious that this feature could 
be disabled. At first I had to suffer and edit the code in a regular notepad in 
order to pass the style check, and only after that I guessed to look for a 
solution to the issue on the Internet.

I think this will ease the entry threshold for new contributors.

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to