Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Multiline String EditorNew to Visual Studio Code? Get it now.
Multiline String Editor

Multiline String Editor

CHOP DBHI

|
1,862 installs
| (5) | Free
Visual Studio Code extension for editing multiline strings (e.g., in JSON).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Multiline String Editor

Easily edit multiline strings that need to be encoded as single-line strings (for example, JSON strings that contain literal \n characters).

How to Use

how_to_use

  1. Move caret to the target string.

caret_on_target

  1. Open command palette and select Edit as multiline string.

  2. Edit opened multiline.txt.

Developing

  1. Clone the repository, and install its dependencies:
git clone <this repository>
cd <this directory>
npm install
code .
  1. Run npm run compile.
  2. Press F5 to launch a development window.
  3. You can refresh the development window (from within the development window) with Cmd + Shift + P -> Developer: Reload Window.

Packaging

  1. Install vsce.
  2. Run vsce package.

See the packaging documentation for more information.

You can then manually upload the packaged file to the VSCode Marketplace from https://marketplace.visualstudio.com/manage/publishers/.

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