Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1{
2 "$schema": "../../../../../node_modules/nx/schemas/project-schema.json",
3 "projectType": "library",
4 "tags": ["scope:plugin", "type:datasource"],
5 "targets": {
6 "build": {},
7 "dev": {}
8 }
9}
10

After

1{
2 "name": "@grafana-plugins/grafana-testdata-datasource",
3 "$schema": "../../../../../node_modules/nx/schemas/project-schema.json",
4 "projectType": "library",
5 "tags": ["scope:plugin", "type:datasource"],
6 "targets": {
7 "build": {},
8 "dev": {}
9 }
10}
11

Before

document
object
{ "{"
pair
string
" "\""
string_content "$schema"
" "\""
: ":"
string
" "\""
string_content "../../../../../node_modules/nx/schemas/project-schema.json"
" "\""
, ","
pair
string
" "\""
string_content "projectType"
" "\""
: ":"
string
" "\""
string_content "library"
" "\""
, ","
pair
string
" "\""
string_content "tags"
" "\""
: ":"
array
[ "["
string
" "\""
string_content "scope:plugin"
" "\""
, ","
string
" "\""
string_content "type:datasource"
" "\""
] "]"
, ","
pair (+28 nodes collapsed)
} "}"

After

document
object
{ "{"
pair
string
" "\""
string_content "name"
" "\""
: ":"
string
" "\""
string_content "@grafana-plugins/grafana-testdata-datasource"
" "\""
, ","
pair
string
" "\""
string_content "$schema"
" "\""
: ":"
string
" "\""
string_content "../../../../../node_modules/nx/schemas/project-schema.json"
" "\""
, ","
pair
string
" "\""
string_content "projectType"
" "\""
: ":"
string
" "\""
string_content "library"
" "\""
, ","
pair
string
" "\""
string_content "tags"
" "\""
: ":"
array
[ "["
string
" "\""
string_content "scope:plugin"
" "\""
, ","
string
" "\""
string_content "type:datasource"
" "\""
] "]"
, ","
pair (+28 nodes collapsed)
} "}"