Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Line Space Fill TrimNew to Visual Studio Code? Get it now.
Line Space Fill Trim

Line Space Fill Trim

Satoshi Yamamoto

|
113 installs
| (0) | Free
This vscode extension allows you to Fill and Trim spaces in lines.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode extension - Line Space Fill Trim

This extension has the following functions

  • Fill end-of-line space for all selected lines.
  • Fill end-of-line space for selected text lines.
  • trim start is performed on selected lines.
  • trim end is performed on selected lines.
  • trim (start and end) is performed on selected lines.
  • Cut min indentation for selected lines

Install

https://marketplace.visualstudio.com/items?itemName=SatoshiYamamoto.vscode-line-space-fill-trim

Usage

Select multiple lines. Execute the command.

- Line Space : Fill To End : Select All Lines
- Line Space : Fill To End : Select Text Lines
- Line Space : Trim Start
- Line Space : Trim End
- Line Space : Trim
- Line Space : Cut Min Indent

operation

The number of spaces to be filled is done according to the maximum number of characters in the selection. The number of characters is obtained by graphemesplit.

graphemesplit - npm
Thanks to the author of graphemesplit.

So Japanese and Chinese kanji characters are counted as two characters of the alphabet. Pictograms are also counted as two characters of the alphabet, and pictograms that are combined into a single character are also counted as two characters of the alphabet.

  • A = 1 character width
  • あ = 2 character width
  • 😊 = 2 character width
  • 👨‍👩‍👧‍👦 = 2 character width
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft