|
That's what I was thinking; you don't need a separate tool to remove blank lines; a regex search and replace ought to do it.
My real question (to the OP) is, does he want the editor to keep the blank lines but just not show them, or really remove them altogether?
|
|
|
|
|
Or 'Edit' -> 'Line Operations' -> 'Remove Empty Lines'
Regards
Nelviticus
|
|
|
|
|
Notepad++ -- Edit | Line Operations | Remove Empty Lines
Mike
|
|
|
|
|
Look at sed if you have a Linux box
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
VIM or NeoVim can do this.
https://stackoverflow.com/questions/706076/vim-delete-blank-lines#706083
When I first started with VI I hated it. The more I learn though, the better it is. It's my editor of choice now, but I confess I don't use it enough to keep all the goodness in my head, and I often need a few moments to get into the VIM headspace when I start.
|
|
|
|
|
^\x0a|^\x0d|^[\s]+.$ seems to work . "Buyer Beware"
|
|
|
|
|
I have a little note for that for VS Code:
vscode: ^$\n (to remove empty lines)
And I don't believe it was with any particular extension.
|
|
|
|
|
|
Don't know (and IDC) about plugin into any development system, but for years, I am using PsPad as my go-to plain text editor on Windows, and it has a function to remove blanks lines (and many other options)...
|
|
|
|
|
=10
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Google calculator tells me it's 3,628,800
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Don't trust decimal folks.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Such an hexed comment.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Hexact!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Bo Derek?
"Ten men in the country could buy the world and ten million can’t buy enough to eat." Will Rogers
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
Mike Hankey wrote: Bo Derek?
These days, she's no more than 9.5.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Too young to remember...
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Google does keep an extensive picture library, y'know...
|
|
|
|
|
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
|
Binary! Bingo!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
From the newsletter:
YouTube is slowing down your PC if you have AdBlock installed by making your CPU sweat, likely as part of its draconian war on ad blockers
Just pay for it, FFS. I subscribed to 'Music Premium' recently and it's great. Cheap as chips and well worth the money (not affiliated in any way). I can also turn my phone screen off or switch away to another app, what's not to like?
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
Paul Sanders (the other one) wrote: can also turn my phone screen off or switch away to another app, what's not to like?
So do I, without paying.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
For now...
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
Adblockers and cracked apps will always win. When they won't, the service will show its actual value ( ~ 0 )
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|