Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Convert Newline List to ArrayNew to Visual Studio Code? Get it now.
Convert Newline List to Array

Convert Newline List to Array

cshum

|
2,894 installs
| (4) | Free
Converts lists split by newline to comma-separated array
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Extension: Convert Newline List to Array

Converts a list separated by new lines into a comma-separated array.

Demo

Demo

Usage

  1. Select multiple lines of your list
  2. cmd(mac)/ctrl(win)+shift+p
  3. Convert New Line List to Array

Installation

VSCode Marketplace

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