Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to work with big multiline strings in JSON with vscode?

I have a big json that has a lot of keys and a lot of values are long multiline string. Here is a sample simplified json:

{
    "key" : "line1\nline2\nline3"
}

I would like to use vscode to work with such json-s.

It is a huge pain to work with multiline string in json, I would like to edit the line line1\nline2\nline3 as a text:

line1
line2
line3

I've search vscode marketpalce but I haven't found any extension that solves this issue.

like image 219
bessarabov Avatar asked Feb 13 '18 22:02

bessarabov


1 Answers

There now seems to be an extension for this: Multiline String Editor. Haven't tried it, though.

like image 156
Ovaflo Avatar answered Sep 18 '22 12:09

Ovaflo