CodeStyle for Java
Hi
I am working on fixing the checkStyle issues for SpringChecks using codeStyleConfig.xml file. I am importing the Scheme and trying to reformat the code and save and fix the issues
but there are some issues that are not being covered using codestyleConfig.xml . Issues are:
<error line="1" severity="error" message="Line does not match expected header line of '^\Q/*\E$'." source="io.spring.javaformat.checkstyle.check.SpringHeaderCheck"/>
<error line="39" column="51" severity="error" message="Single letter catch variable (use "ex" instead)." source="io.spring.javaformat.checkstyle.check.SpringCatchCheck"/>
<error line="40" column="31" severity="error" message="Reference to instance variable 'gpoExceptionFactory' needs "this."." source="com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck"/>
So is there a way that these can be added to configStyleConfig.xml file and the issues get fixed when I reformat and save the code?
Could you please guide me with this
请先登录再写评论。
Hello,
Looks like this needs to be reported to the CheckStyle-IDEA plugin developers at https://github.com/jshiell/checkstyle-idea/issues so that they can introduce changes to the plugin code.