Comments (3)
To clarify, when static imports are grouped into a single block of text without any empty lines between them, I want them to be sorted alphabetically rather than in the package order. In the example above, java
comes before org
in the static import group even though regular imports are grouped with org
before java
due to the package ordering rules.
Right now Checkstyle wants this:
import static org.foo.Bar.*;
import static java.Math.abs;
import org.foo.Foo;
import java.util.Set;
but I want it to match Eclipse (above)--or better an option because I think others may want the current behavior.
from checkstyle.
just found this issue after failing to reconcile checkstyle and eclipse and wanted to say "me too"
from checkstyle.
fixed, will be in 6.5
from checkstyle.
Related Issues (20)
- GenericWhitespace Check ignores exception to the ">" rule for succeeding whitespaces HOT 3
- Expanding maxmem to resolve OOM Exception (Checker checks) HOT 4
- Fix the violations in Release notes HOT 3
- broken maven-enforcer configuration HOT 12
- Unnecessary Input File found HOT 4
- Mutation
- checker-framework.yml should be able to fail execution if report generation is failed HOT 7
- new check: ConstructorsDeclarationGrouping to check the order of overloaded constructors HOT 39
- HideUtilityClassConstructor - Add option to skip validation based on list of annotations HOT 3
- AbstractXpathTestSupport does not support generating multiple xpath suppressions HOT 23
- Rename Java Input files and test methods to specify Test functionality HOT 25
- Issue with CircleCI xwiki HOT 3
- OpenJDK 21 Syntax Related Check Updates HOT 8
- Parse error when Javadoc contains @snippet with code example that uses Java annotation HOT 1
- update version of IDEA inspection engine Version:2022.3.3 HOT 9
- Excludes for createTempFile forbidden method HOT 10
- Remove UnmodifiableCollectionUtil and use pitest funmodifiablecollection feature HOT 1
- infra: should use release 11 for compilation HOT 11
- Enhancement: Improve Clarity of Checkstyle Violation Messages for Illegal Identifier Names HOT 18
- Add support to ignore JSNI methods for Google style config HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkstyle.