I'm running Luna 4.4.2 and thought I had the same issue, but it seems that "Quick Fix" isn't available for all reported problems. It took me a moment to realize, because I right clicked on the file previously and did a "Apply Checkstyle Fixes", so the only items remaining are the ones check style doesn't fix automatically.

Answer from James Oravec on Stack Overflow
Discussions

Eclipse Checkstyle Plug-in / Discussion / Help (readonly - use Github): Apply Checkstyle fixes not working in RSA
I am using IBM Rational Software Architect version 6.0.1. I recently downloaded the Checkstyle plugin version 4.3.2. When I use this version in RSA and apply Checkstyle fixes with the context menu "Apply Checkstyle fixes" nothing happens (when using the package explorer) or I get the error: ... More on sourceforge.net
🌐 sourceforge.net
August 22, 2007
java - How can I apply multiple quick fixes for Checkstyle problems of the same type? - Stack Overflow
The Eclipse Checkstyle plugin offers two ways to auto-correct issues: Right-click on an individual source file and select "Apply Checkstyle Corrections". Right-click on problem marker and select "Q... More on stackoverflow.com
🌐 stackoverflow.com
October 10, 2012
Eclipse CheckStyle - Stack Overflow
Recently I added a new checkstyle (XML) file in Eclipse. After I ran mvn checkstyle:checkstyle, I saw a bunch of checkstyle errors in A.java. Then, in Eclipse, I right-clicked A.java, and picked ... More on stackoverflow.com
🌐 stackoverflow.com
Checkstyle-Plugin 8.5.1 does not work with Eclipse Oxygen 4.7.2
Eclipse shows only: Checkstyle execution failed due to an internal error. More on github.com
🌐 github.com
7
January 9, 2018
Top answer
1 of 2
5

Eclipse has since the version 3.3 a cleanup wizard that could help doing part of the job. But in my opinion, the question is asked in the wrong way:

  • Checkstyle does check a lot of different things, and some of them could be automatically corrected. So by using the automatic format of Eclipse, and tweaking the format that it complies to Checkstyle, these warnings will go away automatically.
  • Some of the warnings indicate that something is missing which is not known. Most prominent are here comments everywhere, but there could be other warnings as well. Eclipse may here help partially, but it is not a good idea to generate JavaDoc by eclipse with its standard templates, because then the indication that something is wrong is gone, but the cause exists further.
  • Some of the warnings indicate something for which multiple solutions could exist. So it is not possible for Eclipse to automatically change the code. There sometimes a quick fix exists that may be appropriate, but each has to be selected by the user.

So you should do the following:

  1. Have a look at the Cleanup Wizard in Eclipse Window > Preferences > Java > Code Style > Clean Up, create there a new profile from an existing one, and tweak it to the rules you want to use in Checkstyle.
  2. If you have selected Code Organizing > Format Source Code in your profile, tweak the code formatter for Java as well. Go to Window > Preferences > Java > Code Style > Formatter, create here as well a new profile as well, and tweak it according to your checkstyle rules. The rule of thumb should be that after writing any code and formatting it with the formatter, no checkstyle warning should exist that could be corrected by only inserting or removing spaces, blanks, newlines, and parantheses.
  3. Ensure that this configuration is used by everyone in your project, and of course everyone should use Eclipse.
2 of 2
1

I found a link at http://www.ibm.com/developerworks/library/os-eclipse-clean/ which answers this question.

🌐
SourceForge
sourceforge.net › home › browse › eclipse checkstyle plug-in › discussion
Eclipse Checkstyle Plug-in / Discussion / Help (readonly - use Github): Apply Checkstyle fixes not working in RSA
August 22, 2007 - Note that when I use RAD 7 I no longer have the checkstyle icons in front of my sources when opening the source folder. They are there in the package explorer, but not in the navigator. ... If you would like to refer to this comment somewhere else in this project, copy and paste the following link: ... Hmm, I am using RAD 7 too at work and didn't notice any problems with the quickfixes. Although, I am regularly using the "Fix Checkstyle violations" action using the keyboard shortcut (CTRL-ALT-C).
🌐
SourceForge
sourceforge.net › home › browse › eclipse checkstyle plug-in › bugs (deprecated - use github)
Eclipse Checkstyle Plug-in / Bugs (Deprecated - use Github) / #274 Apply checkstyle fixes
I am using RAd v6.0 and plugged in checkstyle v4.3.3. But apply checkstyle fixes is not working. For the project we are using j2se1.4. In the error log an error is reported as j2se1.5 parser not implemented yet. Later on tried to install eclipse v3.4.1 separately and tried to installed various ...
Find elsewhere
🌐
Blogger
singh11221.blogspot.com › 2010 › 08 › eclipse-checkstyle-fixes-or-fix-does.html
Eclipse "Apply Checkstyle fixes" or "Quick Fix" does nothing when trying to fix checkstyle errors in a java file -
August 24, 2017 - I have tried to fix this issue, another Stack Exchange source source claims that there is a need to create another quick-fix file to really fix issues. However, the source (among others) does not tell anything. I am using Luna Release 4.4.0. Is there anything that I'm missing or is it quick available for very accurate checkstation errors? Luna 4.4.2 is running and I think I had the same problem, but it seems That "instant correction" is not available for all report problems. I took a moment to realize this because I had previously clicked on the file and had "Apply Checkstyle Fix", so the remaining are the only items that do not automatically correct the check style.
🌐
GitHub
github.com › checkstyle › eclipse-cs › issues › 5
Checkstyle-Plugin 8.5.1 does not work with Eclipse Oxygen 4.7.2 · Issue #5 · checkstyle/eclipse-cs
January 9, 2018 - Bitte prüfen Sie auch, dass der angegebene ClassLoader des Checkers richtig konfiguriert ist. at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:464) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticB...
Author: checkstyle
🌐
GitHub
github.com › checkstyle › eclipse-cs › issues › 190
Checkstyle not working since new update (8.26, updated yesterday) · Issue #190 · checkstyle/eclipse-cs
November 16, 2019 - com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module' section for this Check in web documentation if Check is standard. at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:472) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:198) at net.sf.eclipsecs.core.builder.CheckerFactory.createCheckerInternal(CheckerFactory.java:255) at net.sf.eclipsecs.core.builder.CheckerFactory.createChecker(CheckerFactory.java:127) at net.sf.eclips
Author: checkstyle
🌐
GitHub
github.com › checkstyle › eclipse-cs › issues › 315
NeedBracesCheck: Quickfix is broken since 8.36.1 · Issue #315 · checkstyle/eclipse-cs
September 1, 2021 - Quick fix is completely grayed out and does nothing when clicking. Confirmed by installing 8.35 , verifying quick fix works, resetting eclipse (from pre-Checkstyle install save), installing 8.36.1, ...
Author: checkstyle
🌐
Stack Overflow
stackoverflow.com › questions › 58589239 › show-checkstyle-violations-in-eclipse-problems-tab
Show checkstyle violations in eclipse problems tab - Stack Overflow
October 28, 2019 - 3 Eclipse "Apply Checkstyle fixes" or "Quick Fix" does nothing when trying to fix checkstyle errors in a java file
🌐
GitHub
github.com › sevntu-checkstyle › sevntu.checkstyle › wiki › Java-code-Formater-and-Checkstyle-configuration-for-development
Java code Formater and Checkstyle configuration for development
December 6, 2015 - Formatter 1. ATTENTION: THIS FORMATTER DOES NOT COVER ALL CASES. Use this formatter which is approximate to origin Checkstyle format. Run Eclipse: Windows — Properties — Java — Code Style — Formatter and import it. Apply formatter on your code.
Author: sevntu-checkstyle
🌐
Google Groups
groups.google.com › g › sevntu-checkstyle › c › tl7ZKsk-Lss
How to use Checkstyle with Eclipse formatter - indentation check problems
Eclipse formatter and Checkstyle Indentation are conflicting, and most users use Eclispe as formatting is minor problem, and everyone like auto-fix from Eclipse.
🌐
Checkstyle
checkstyle.sourceforge.io › eclipse.html
Importing and debugging in Eclipse IDE – checkstyle
2 weeks ago - 1) Use Eclipse compiler preferences from repo: copy config/org.eclipse.jdt.core.prefs file to .settings folder of cloned repository on your PC. Restart Eclipse. Such folder does not exist in repository after clone and it is created by Eclipse during project import. If folder not present please import checkstyle to Eclipse first.