Skip to content

variables containing functions should have different color #79806

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

Closed
meszaros-lajos-gyorgy opened this issue Aug 26, 2019 · 1 comment
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues

Comments

@meszaros-lajos-gyorgy
Copy link

Hello everyone!

When I declare javascript functions and variables in vscode, their names have different colors. But when I pass them to other functions, then they all have the same color.

vscode

It would be a nice feature to have the differentiated color all the way throughout the code, similarly to IntelliJ:

intellij

Example code, that I used:

function asdf() {
  return 12
}

const asdf2 = () => 12

const asdf3 = 12

let asdf4 = 12

var asdf5 = 12

console.log(asdf, asdf2, asdf3, asdf4, asdf5)
@mjbvz
Copy link
Collaborator

mjbvz commented Aug 26, 2019

Duplicate of #77140

@mjbvz mjbvz marked this as a duplicate of #77140 Aug 26, 2019
@mjbvz mjbvz closed this as completed Aug 26, 2019
@mjbvz mjbvz added *duplicate Issue identified as a duplicate of another issue(s) grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues labels Aug 26, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

2 participants