You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue regards Javascript. As you can see from the screenshot posted below, it appears that in the original Atom theme when you are declaring a variable using "const", the variable name turns orange, instead of white, as it does when using "var" or "let". VS Code treats all variable declarations with the white color. Can you please make the variable names declared with "const" orange for Javascript in VS Code?
(Please ignore my stupid midnight naming conventions...)
Sample code
function createGetSetDOMElements() {
const aboutIntro = this.document.getElementById("shortAboutIntro");
if (aboutIntro) {
aboutIntro.setAttribute("style", "color: red");
}
}
Filename and Language selected
I am creating a standard Javascript file with the .js file extension.
VSCode and Atom Original theme Screenshot
VSCode theme Screenshot (left) and Atom Original theme Screenshot (right), focus your attention on the red rectangles I have drawn for your convenience:
Versions used
VSCode version: 1.20.0
Theme version: 2.1.0
Extra information
I have no other relevant plugins or extensions that are in conflict with the theme.
The text was updated successfully, but these errors were encountered:
This has come up before (#76, #57), but VSCode unfortunately doesn't provide any scope that I can use to differentiate it from regular variables declaration.
This issue regards Javascript. As you can see from the screenshot posted below, it appears that in the original Atom theme when you are declaring a variable using "const", the variable name turns orange, instead of white, as it does when using "var" or "let". VS Code treats all variable declarations with the white color. Can you please make the variable names declared with "const" orange for Javascript in VS Code?
(Please ignore my stupid midnight naming conventions...)
Sample code
Filename and Language selected
I am creating a standard Javascript file with the .js file extension.
VSCode and Atom Original theme Screenshot
VSCode theme Screenshot (left) and Atom Original theme Screenshot (right), focus your attention on the red rectangles I have drawn for your convenience:
Versions used
Extra information
I have no other relevant plugins or extensions that are in conflict with the theme.
The text was updated successfully, but these errors were encountered: