Skip to content
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

Multiline variable declaration types not properly highlighted #491

Closed
mjbvz opened this issue Jul 26, 2017 · 0 comments
Closed

Multiline variable declaration types not properly highlighted #491

mjbvz opened this issue Jul 26, 2017 · 0 comments

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Jul 26, 2017

From microsoft/vscode#31389

TS and JS Grammar Extension version: 0.0.22 / latest

Code

let a: number = w,
b: string = x, // string is not colored
c: any = y, // any is not colored
d: boolean = z; // boolean is not colored

Only the first type declaration is properly syntax colored:

screen shot 2017-07-25 at 9 27 58 pm

sheetalkamat added a commit that referenced this issue Aug 21, 2018
Fixes #491 portion after making comments not consume end of line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant