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//@noUnusedLocals:true
2//@noUnusedParameters:true
3
4class greeter {
5 constructor(param1: string, param2: string, param3: string) {
6 param2 = param2 + "dummy value";
7 }
8}

After

1// @target: es2015
2//@noUnusedLocals:true
3//@noUnusedParameters:true
4
5class greeter {
6 constructor(param1: string, param2: string, param3: string) {
7 param2 = param2 + "dummy value";
8 }
9}

Before

program
comment "//@noUnusedLocals:true"
comment "//@noUnusedParameters:true"
class_declaration (+46 nodes collapsed)

After

program
comment "// @target: es2015"
comment "//@noUnusedLocals:true"
comment "//@noUnusedParameters:true"
class_declaration (+46 nodes collapsed)