Answers for "vscode remove all new lines"

1

vs code remove empty lines

Press Ctrl + H (quick replace).
Click "Use Regular Expressions".
In Find specify "^$n"
Click "Replace All". All Blank lines will be deleted.
Posted by: Guest on December-08-2021
1

remove all lines starting with visual code

If you want to delete the entire line make your regex find the entire line and include the linefeed as well. Something like:

^.*(word1|word2|word3).*n
Then ALT-Enter will select all lines that match and Delete will eliminate them including the lines they occupied.
Posted by: Guest on July-13-2021

Code answers related to "vscode remove all new lines"

Browse Popular Code Answers by Language