-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Labels
Description
From @rob3c on November 28, 2016 21:51
- VSCode Version: 1.8.0-insider Commit 2c8ab1a5ffc49ac26b2080bfbbbf9317fb8071bb
- OS Version: Windows 8 Pro
Casting is inconsistently rendered across many themes. It seems related to newlines. Here's a code sample (with excessive casting) and screenshots across a few themes, for reference. (even the github renderer seems confused!)
class Foo {
constructor(public x: string) {}
}
const foo1 = <Foo> { x: '1' };
const foo2 = <Foo> {
x: '2'
};
const foo3 =
<Foo> {
x: '3'
};
let foos: Foo[] = <Foo[]> [
new Foo('4'),
<Foo>{ x: '5' },
<Foo>{
x: '6'
},
];
let obj = Object.assign(new Foo('7'), <Foo> { x: '8' },
<Foo>{ x: '9' }, <Foo> { x: '10' }, <Foo>{
x: '11'
},
<Foo>{
x: '12'
});
Dark+
Light+
Monokai Dimmed
Monokai
Solarized Dark
Copied from original issue: microsoft/vscode#16175