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

…lines 1–16 unchanged (16 lines)
17mod env_rust;
18mod env_system;
19#[cfg(target_os = "macos")]
20mod ios;
21mod packages_nodejs;
22mod packages_rust;
23mod plugins;
24
25#[derive(Deserialize)]
26struct JsCliVersionMetadata {
27 version: String,
28 node: String,
29}
…lines 30–342 unchanged (313 lines)

After

…lines 1–16 unchanged (16 lines)
17mod env_rust;
18mod env_system;
19#[cfg(target_os = "macos")]
20mod ios;
21mod packages_nodejs;
22mod packages_rust;
23pub mod plugins;
24
25#[derive(Deserialize)]
26struct JsCliVersionMetadata {
27 version: String,
28 node: String,
29}
…lines 30–342 unchanged (313 lines)

Before

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
use_declaration (+24 nodes collapsed)
use_declaration
use "use"
scoped_identifier
identifier "clap"
:: "::"
identifier "Parser"
; ";"
use_declaration
use "use"
scoped_use_list
identifier "colored"
:: "::"
use_list
{ "{"
identifier "ColoredString"
, ","
identifier "Colorize"
} "}"
; ";"
use_declaration
use "use"
scoped_use_list
identifier "dialoguer"
:: "::"
use_list
{ "{"
scoped_identifier
identifier "theme"
:: "::"
identifier "ColorfulTheme"
, ","
identifier "Confirm"
} "}"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "serde"
:: "::"
identifier "Deserialize"
; ";"
use_declaration
use "use"
scoped_use_list
scoped_identifier
identifier "std"
:: "::"
identifier "fmt"
:: "::"
use_list
{ "{"
self "self"
, ","
identifier "Display"
, ","
identifier "Formatter"
} "}"
; ";"
mod_item
mod "mod"
identifier "app"
; ";"
mod_item
mod "mod"
identifier "env_nodejs"
; ";"
mod_item
mod "mod"
identifier "env_rust"
; ";"
mod_item
mod "mod"
identifier "env_system"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
mod_item
mod "mod"
identifier "ios"
; ";"
mod_item
mod "mod"
identifier "packages_nodejs"
; ";"
mod_item
mod "mod"
identifier "packages_rust"
; ";"
mod_item
mod "mod"
identifier "plugins"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Deserialize"
) ")"
] "]"
struct_item
struct "struct"
type_identifier "JsCliVersionMetadata"
field_declaration_list
{ "{"
field_declaration
field_identifier "version"
: ":"
type_identifier "String"
, ","
field_declaration
field_identifier "node"
: ":"
type_identifier "String"
, ","
} "}"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Deserialize"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
) ")"
] "]"
struct_item (+28 nodes collapsed)
function_item (+51 nodes collapsed)
attribute_item (+24 nodes collapsed)
enum_item (+28 nodes collapsed)
impl_item (+122 nodes collapsed)
impl_item (+114 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Default"
) ")"
] "]"
enum_item (+40 nodes collapsed)
impl_item (+37 nodes collapsed)
impl_item (+62 nodes collapsed)
impl_item (+57 nodes collapsed)
impl_item (+92 nodes collapsed)
struct_item (+74 nodes collapsed)
impl_item (+141 nodes collapsed)
impl_item (+582 nodes collapsed)
struct_item (+38 nodes collapsed)
impl_item (+192 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Parser"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "clap"
token_tree
( "("
identifier "about"
= "="
string_literal
" "\""
string_content "Show a concise list of information about the environment, Ru"...
" "\""
) ")"
] "]"
struct_item (+30 nodes collapsed)
function_item (+659 nodes collapsed)

After

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
use_declaration (+24 nodes collapsed)
use_declaration
use "use"
scoped_identifier
identifier "clap"
:: "::"
identifier "Parser"
; ";"
use_declaration
use "use"
scoped_use_list
identifier "colored"
:: "::"
use_list
{ "{"
identifier "ColoredString"
, ","
identifier "Colorize"
} "}"
; ";"
use_declaration
use "use"
scoped_use_list
identifier "dialoguer"
:: "::"
use_list
{ "{"
scoped_identifier
identifier "theme"
:: "::"
identifier "ColorfulTheme"
, ","
identifier "Confirm"
} "}"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "serde"
:: "::"
identifier "Deserialize"
; ";"
use_declaration
use "use"
scoped_use_list
scoped_identifier
identifier "std"
:: "::"
identifier "fmt"
:: "::"
use_list
{ "{"
self "self"
, ","
identifier "Display"
, ","
identifier "Formatter"
} "}"
; ";"
mod_item
mod "mod"
identifier "app"
; ";"
mod_item
mod "mod"
identifier "env_nodejs"
; ";"
mod_item
mod "mod"
identifier "env_rust"
; ";"
mod_item
mod "mod"
identifier "env_system"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
mod_item
mod "mod"
identifier "ios"
; ";"
mod_item
mod "mod"
identifier "packages_nodejs"
; ";"
mod_item
mod "mod"
identifier "packages_rust"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "plugins"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Deserialize"
) ")"
] "]"
struct_item
struct "struct"
type_identifier "JsCliVersionMetadata"
field_declaration_list
{ "{"
field_declaration
field_identifier "version"
: ":"
type_identifier "String"
, ","
field_declaration
field_identifier "node"
: ":"
type_identifier "String"
, ","
} "}"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Deserialize"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
) ")"
] "]"
struct_item (+28 nodes collapsed)
function_item (+51 nodes collapsed)
attribute_item (+24 nodes collapsed)
enum_item (+28 nodes collapsed)
impl_item (+122 nodes collapsed)
impl_item (+114 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Default"
) ")"
] "]"
enum_item (+40 nodes collapsed)
impl_item (+37 nodes collapsed)
impl_item (+62 nodes collapsed)
impl_item (+57 nodes collapsed)
impl_item (+92 nodes collapsed)
struct_item (+74 nodes collapsed)
impl_item (+141 nodes collapsed)
impl_item (+582 nodes collapsed)
struct_item (+38 nodes collapsed)
impl_item (+192 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Parser"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "clap"
token_tree
( "("
identifier "about"
= "="
string_literal
" "\""
string_content "Show a concise list of information about the environment, Ru"...
" "\""
) ")"
] "]"
struct_item (+30 nodes collapsed)
function_item (+659 nodes collapsed)