Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Text Line ProcessorNew to Visual Studio Code? Get it now.
Text Line Processor

Text Line Processor

SumHou

|
1 install
| (0) | Free
A VSCode extension for line-by-line text processing. Add single/double quotes to each line, or append trailing commas (except last non-empty line). Right-click context menu integration with support for selected text or entire file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Text Line Processor / 文本行处理器

A VS Code extension for line-by-line text processing.

一个用于按行处理文本的 VS Code 扩展。

Features / 功能

  • Add Single Quotes - Wrap each line with single quotes, for example 'text'.

  • Add Single Quotes - 为每行文本添加英文单引号,例如 'text'。

  • Add Double Quotes - Wrap each line with double quotes, for example "text".

  • Add Double Quotes - 为每行文本添加英文双引号,例如 "text"。

  • Add Trailing Comma - Append a comma to each line except the last non-empty line.

  • Add Trailing Comma - 为每行末尾添加英文逗号,最后一非空行除外。

  • Join with Commas - Join multiple lines into one comma-separated line.

  • Join with Commas - 将多行文本合并为一行,并用逗号分隔。

  • Split by Commas - Split comma-separated text into multiple lines.

  • Split by Commas - 将逗号分隔的文本拆分为多行。

Usage / 使用方法

  1. Open any text file.

  2. Right-click in the editor and choose Text Line Processor.

  3. Select the operation you want from the Quick Pick menu.

  4. 打开任意文本文件。

  5. 在编辑器中右键点击,选择 Text Line Processor。

  6. 从弹出的选项菜单中选择所需功能。

Notes / 注意事项

  • If no text is selected, the extension processes the entire file.

  • 如果没有选中文本,则默认处理整个文件。

  • If text is selected, the extension processes only the selected lines.

  • 如果有选中文本,则只处理选中的行。

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