Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.2 KB

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 (.vsix) file to the VSCode Marketplace from https://marketplace.visualstudio.com/manage/publishers/.