Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Insert Spaces between Half/FullwidthsNew to Visual Studio Code? Get it now.
Insert Spaces between Half/Fullwidths

Insert Spaces between Half/Fullwidths

wgag

|
884 installs
| (1) | Free
Inserts spaces between full- and half-width characters.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Insert Spaces between Half/Fullwidths

Build Status

A Visual Studio Code extension for formatting documents written in Japanese or Chinese.

Overview

This extension formats your document by inserting spaces between half- and full-width characters. For example, the text

今日は2017年8月11日(金)、快晴です。

is formatted as follows:

今日は 2017 年 8 月 11 日 (金)、快晴です。

Usage

  1. Open a document to format.
  2. Press Ctrl+Shift+I to format the document. If it does not work, press Ctrl+Shift+P and run the command Insert Spaces between Half/Fullwidths.

By default, spaces are inserted to the whole document. To format a part of the document, highlight that part beforehand.

Installation

Installing from VS Code

This extension is available on the marketplace.

In VS Code, press Ctrl+P and execute ext install insert-spaces.

Building from Source

Run the following commands:

$ git clone https://github.com/wgag/vscode-insert-spaces.git
$ cd vscode-insert-spaces
$ npm install
$ npm run compile
$ cp -r . ~/.vscode/extensions/wgag.insert-spaces-1.x.x
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft