-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugthemesColor theme issuesColor theme issuesverifiedVerification succeededVerification succeeded
Description
- VSCode Version: 1.8.0-insider Commit 2c8ab1a
- 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
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugthemesColor theme issuesColor theme issuesverifiedVerification succeededVerification succeeded




