V
V
Vasily Vasilyev2017-08-30 13:25:27
Programming
Vasily Vasilyev, 2017-08-30 13:25:27

IDEA. Solution to find and remove empty lines in a file?

The refactoring results in a bunch of empty lines that autoformatting doesn't remove. Scrolling and deleting manually in the code for a couple of thousand lines is not an option.
Is there any solution other than writing your own plugin?
PS: found some solution for anyone interested:

replace \n\n by \n (STRG-R with regex)

But still interested in automating this process

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question