目录 / Table of Contents
中文
一个用于按行处理文本的 VS Code 扩展。
功能
- Add Single Quotes - 为每行文本添加英文单引号,例如
'text'。 - Add Double Quotes - 为每行文本添加英文双引号,例如
"text"。 - Add Trailing Comma - 为每行末尾添加英文逗号,最后一非空行除外。
- Join with Commas - 将多行文本合并为一行,并用逗号分隔。
- Split by Commas - 将逗号分隔的文本拆分为多行。
使用方法
- 打开任意文本文件。
- 在编辑器中右键点击,选择 Text Line Processor。
- 从弹出的选项菜单中选择所需功能。
注意事项
- 如果没有选中文本,则默认处理整个文件。
- 如果有选中文本,则只处理选中的行。
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
- Open any text file.
- Right-click in the editor and choose Text Line Processor.
- 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.