Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank lines #13

Open
eekboom opened this issue Aug 7, 2013 · 5 comments
Open

Blank lines #13

eekboom opened this issue Aug 7, 2013 · 5 comments

Comments

@eekboom
Copy link

eekboom commented Aug 7, 2013

It would be great to have a way to configure blank lines in between certain tags.

I think there could just be a seperate button to add one to the list of tags.
Moving it up and down and deleting it could work just the same as for tag items in the list.

@blabno
Copy link
Contributor

blabno commented Aug 7, 2013

Could you explain in details what do you mean by "it" in phrase "Moving it up and down and deleting it"?

@eekboom
Copy link
Author

eekboom commented Aug 7, 2013

Oh, I guess that description wasn't really understandable.

Have a look at one of the standard settings panels in IDEA: File > Settings > Code Style > Java > Imports
There is a button "+\n" that adds a new special "blank line" item to the list. That item in the list can then be moved up/down or deleted again just like the other items.

That was what I was thinking of when I created this issue.

@blabno
Copy link
Contributor

blabno commented Aug 7, 2013

The list of tags is not sorted anyhow so there would have to be separate field "number of newlines before".
Let's see if we get any votes on this feature.

@eekboom
Copy link
Author

eekboom commented Aug 7, 2013

I meant the list that is associated to the "Fixed order" option on the right side of the POM sorter settings.
Of course, that's only a partial solution and does not help if you select another sorting type.

Hm, ...

@dcsobral
Copy link

dcsobral commented May 4, 2015

I was about to ask for that. Even the recommended ordering includes new lines at specific points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants