Remove empty lines (VS Code): Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „#Open your code in Visual Studio Code #From Edit Menu, select Replace or use a short cut key (command + Option + F on Mac or '''Ctrl + H''' on Windows) Datei…“) |
(kein Unterschied)
|
Version vom 12. Februar 2021, 14:45 Uhr
- Open your code in Visual Studio Code
- From Edit Menu, select Replace or use a short cut key (command + Option + F on Mac or Ctrl + H on Windows)
- In the find box type ^(\s)*$\n
- Leave the replace box empty
- Make sure the 'Use Regular Expression' is selected
- Select 'Replace All' button