Easily edit multiline strings that need to be encoded as single-line strings (for example, JSON strings that contain literal \n
characters).
- Move caret to the target string.
-
Open command palette and select
Edit as multiline string
. -
Edit opened
multiline.txt
.
- Clone the repository, and install its dependencies:
git clone <this repository>
cd <this directory>
npm install
code .
- Run
npm run compile
. - Press
F5
to launch a development window. - You can refresh the development window (from within the development window) with
Cmd + Shift + P
->Developer: Reload Window
.
- Install
vsce
. - 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/.