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

|
7 installs
| (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 / 文本行处理器

目录 / Table of Contents

  • 中文
  • English

中文

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

功能

  • Add Single Quotes - 为每行文本添加英文单引号,例如 'text'。
  • Add Double Quotes - 为每行文本添加英文双引号,例如 "text"。
  • Add Trailing Comma - 为每行末尾添加英文逗号,最后一非空行除外。
  • Join with Commas - 将多行文本合并为一行,并用逗号分隔。
  • Split by Commas - 将逗号分隔的文本拆分为多行。

使用方法

  1. 打开任意文本文件。
  2. 在编辑器中右键点击,选择 Text Line Processor。
  3. 从弹出的选项菜单中选择所需功能。

注意事项

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

English

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

Features

  • Add Single Quotes - Wrap each line with single quotes, for example 'text'.
  • Add Double Quotes - Wrap each line with double quotes, for example "text".
  • Add Trailing Comma - Append a comma to each line except the last non-empty line.
  • Join with Commas - Join multiple lines into one comma-separated line.
  • Split by Commas - Split comma-separated text into multiple lines.

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.

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