Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Expression without semicolon + comments break next line syntax highlighting #646

Closed
octref opened this issue Aug 20, 2018 · 0 comments
Closed

Comments

@octref
Copy link

octref commented Aug 20, 2018

TS and JS Grammar Extension version: 0.0.43 / latest

Code

// Good
const foo = 5; // The json data that the extension sent
console.log(`${foo}`)

// Good
const foo = 5
console.log(`${foo}`)

// Bad
const foo = 5 // The json data that the extension sent
console.log(`${foo}`)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant