-
Notifications
You must be signed in to change notification settings - Fork 906
Open
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:featureA feature requestA feature requestneeds:triageRequires attention from one of the committersRequires attention from one of the committers
Description
Description
An option to combine imports with different Java packages together, separated from other imports.
Use case/motivation
According to the Checkstyle I need to group Java packages: java.*
and javax.*
together, without blank line between them.
The import layout I need:
- import static ...;
- (blank line);
- import java.*;
- import javax.*;
- (blank line);
- import org.*;
The way I try to organize imports is specifying groups inside section "Import Layout" (Tools - Options - Editor - Formatting):
- all other imports (static);
- java., javax.;
- all other imports.
(with checked options "Separate Groups" and "Separate Static Imports")
After applying changes, Netbeans splits "java., javax." into two different lines, so it's not possible to combine them together.
Related issues
No response
Are you willing to submit a pull request?
No
Metadata
Metadata
Assignees
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:featureA feature requestA feature requestneeds:triageRequires attention from one of the committersRequires attention from one of the committers