- Open Find (Ctrl+H), check "Use Regular Expression".
- Find:
^\s*\r?\n(matches empty or whitespace-only lines). - Replace with: Leave empty.
- Click "Replace All".
Last active
December 26, 2025 12:56
-
-
Save AFirooz/f9594286c76e1350fd253fcf3ce517fd to your computer and use it in GitHub Desktop.
Misc VSCode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment