MamaikAn opened a new issue, #8861:
URL: https://github.com/apache/netbeans/issues/8861
### 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:
1. import static ...;
2. (blank line);
3. import java.\*;
4. import javax.\*;
5. (blank line);
6. 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists