Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Clipboard FormatNew to Visual Studio Code? Get it now.
Clipboard Format

Clipboard Format

pandazki

|
867 installs
| (1) | Free
a clipboard format util.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clipboard Format(pzformat) README

A clipboard format utility base on the sprintf.js. (Migrate from my sublime plugin pzformat)

Features

demo

Usage

1. Copy or cut your format string.(Just put it into your clipboard)

eg.

INSERT INTO Persons (id, name, gender) VALUES (%s, %s, %s);

2. Select all data which you want to format.

eg.

1 Jack male
2 Mary female
3 Tom male

3. Press [cmd+shift+p] and type clipboard format

All done.

more

The default separator is /[,,;\s]/, you can specify it by using @sep=your_separators.

eg.

@sep=#
1#Jack#male
2#Mary#female
3#Tom#male
@sep=!~
4!Panny~female
5~Jerry!none

Notice: if you set editor.insertSpaces = true in your settings, \t separator must be lose efficacy.

Release Notes

1.0.0

Initial release of core format function.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft