Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Delete Blank LinesNew to Visual Studio Code? Get it now.
Delete Blank Lines

Delete Blank Lines

jiajinning

|
70 installs
| (0) | Free
自动删除所有空白行
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Delete Blank Lines / 删除空白行

A simple VS Code extension to automatically delete all blank lines.

一个简单的 VS Code 扩展,用于自动删除文件中的所有空白行。

Features / 功能特性

  • Automatically delete all blank lines when saving files

  • Support all types of files

  • No configuration needed, works out of the box

  • 在保存文件时自动删除所有空白行

  • 支持所有类型的文件

  • 无需配置,即装即用

Usage / 使用方法

  1. The extension is enabled automatically after installation / 安装插件后自动启用
  2. Edit any file / 编辑任意文件
  3. All blank lines will be automatically deleted when saving / 保存文件时,所有空白行将被自动删除

Settings / 设置

  • deleteBlankLines.language: Select language (en/zh-cn) / 选择语言(英文/中文)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft