-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type script syntax highlighting error #197
Comments
From @emeryao on June 22, 2016 12:27 export class sampleClass {
public equipmentTypeList: string[] = ["FAX", "OFFICE PHONE"];
public pbxEquipmentType = "FAX";
public spliceRightStripName = "TE";
public cablePairStatusValues: any[] = new Array<any>(
[
{ statusText: "Assigned" },
{ statusText: "Faulty" },
{ statusText: "Not in Use" }
]);
public cablePairStatusValueForAssigned = "Assigned";
public cablePairStatusValueForFaulty = "Faulty";
public phoneCircuitType = "Phone";
} codes above works fine on my vs code:1.3.0-insiders. maybe the way of directly asignning a PS: noticed that the highlight is not working even in markdown syntax with your codes, see blow and compare with the codes above export class sampleClass {
public equipmentTypeList: string[] = ["FAX", "OFFICE PHONE"];
public pbxEquipmentType = "FAX";
public spliceRightStripName = "TE";
public cablePairStatusValues: any[] =
[
{ statusText: "Assigned" },
{ statusText: "Faulty" },
{ statusText: "Not in Use" },
];
public cablePairStatusValueForAssigned = "Assigned";
public cablePairStatusValueForFaulty = "Faulty";
public phoneCircuitType = "Phone";
} so I don't think it's a bug |
From @oaabhilash on June 22, 2016 12:39 I just checked the typescript handbook Edit: I take your point regarding the markdown syntax. I guess I have to format the code differently :( Thanks |
From @emeryao on June 22, 2016 12:50 @oaabhilash |
From @oaabhilash on June 22, 2016 12:20
Steps to Reproduce:
Tested for following themes
Default (Dark)
Visual studio Dark and
Visual Studio light
Note: if the opening square bracket on line 7 is moved to line 6 then the syntax highlighting is OK.
Copied from original issue: microsoft/vscode#7999
The text was updated successfully, but these errors were encountered: