Code view:
From the node mapping Only one solution
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 //// [tests/cases/conformance/typings/typingsSuggestion2.ts] ////
2
3 //// [a.ts]
4 module.exports = 1;
5
6
7 //// [a.js]
8 module.exports = 1;
9
After
1 //// [tests/cases/conformance/typings/typingsSuggestion2.ts] ////
2
3 //// [a.ts]
4 module.exports = 1;
5
6
7 //// [a.js]
8 "use strict";
9 module.exports = 1;
10
Before
1 //// [tests/cases/conformance/typings/typingsSuggestion2.ts] ////
2
3 //// [a.ts]
4 module.exports = 1;
5
6
7 //// [a.js]
8 module.exports = 1;
9
After
1 //// [tests/cases/conformance/typings/typingsSuggestion2.ts] ////
2
3 //// [a.ts]
4 module.exports = 1;
5
6
7 //// [a.js]
8 "use strict";
9 module.exports = 1;
10
Before
program comment "//// [tests/cases/conformance/typings/typingsSuggestion2.ts]"...
comment "//// [a.ts]"
expression_statement assignment_expression member_expression identifier "module"
. "."
property_identifier "exports"
= "="
number "1"
; ";"
comment "//// [a.js]"
expression_statement assignment_expression member_expression identifier "module"
. "."
property_identifier "exports"
= "="
number "1"
; ";"
After
program comment "//// [tests/cases/conformance/typings/typingsSuggestion2.ts]"...
comment "//// [a.ts]"
expression_statement assignment_expression member_expression identifier "module"
. "."
property_identifier "exports"
= "="
number "1"
; ";"
comment "//// [a.js]"
expression_statement string " "\""
string_fragment "use strict"
" "\""
; ";"
expression_statement assignment_expression member_expression identifier "module"
. "."
property_identifier "exports"
= "="
number "1"
; ";"
Keybindings
j / k next / previous visible node (tree panels)
h / l collapse / expand the focused node
g / G jump to first / last visible node
Tab switch focus between Before/After panels
/ search: jump to next node whose text contains a given string
a jump the other panel to this node's mapped counterpart
i hide identical matches, showing only inserted/deleted/updated nodes and their ancestors
v cycle the view: split / code only / tree only
p cycle what the code view renders: the node mapping, then each human painting
r mark this fixture as reviewed, or forget the mark (kept in this browser only)
n open a random fixture not yet marked as reviewed
? toggle this help
Search (plain substring, no regex):