Add newlines on sort format
See original GitHub issueHi,
When specifying <keepBlankLines>false</keepBlankLines>
no empty lines are preserved.
I haven’t found any configuration for this, and it does not respect the newlines in the format file.
Is it possible to enforce newlines between sections as part of the sort/formatting?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
how to add new lines using sort - The UNIX and Linux Forums
Hello, I'm trying to sort a file which has many lines with the sort command. ... The line terminator in a unix format...
Read more >sort -o appends newline to end of file - why? - Stack Overflow
I'm working on a small text file with a list of words in it that I want to add a ...
Read more >How to add a newline to the end of a file? - Unix StackExchange
Here you go: sed -i -e '$a\' file. And alternatively for OS X sed : sed -i '' -e '$a\' file. This adds...
Read more >Handle line breaks (newlines) in Python - nkmk note
This article describes how to handle strings including line breaks (line feeds, new lines) in Python. Create a string containing line breaks.
Read more >Possible to Insert Manual Line Break in Custom Formatting?
1. In the Custom format box, type. ddd / dd mmm yyyy Ctrl+J hh:mm AM/PM · 2. On the next tab, select Wrap...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Started with a small test to see the actual custom sort order file. We will see if these newlines can be picked up. One thing though, the <newLine> till be marked with red since it isn’t part of the http://maven.apache.org/maven-v4_0_0.xsd
Thank you for looking into it. I’ll definitely look into it when I get the time.