JavaScript variable color in JetBrains WebStorm

Why do JS variables have different colors in JetBrains WebStorm 2016? No significant differences between the express, path, favicon... variables An: I use all of them in your code.

Do these colors know something about the normal behavior of WebStorm? If not, how can I change them?

Color Variables in JetBrains WebStorm

+4
source share
2 answers

The colors for these member fields are different because they are different.

Violet colored fields are object variables, and light orange fields are functional variables.

IntelliJ ( WebStorm) , JavaScript.

:

Screenshot showing the syntax highlight color of a JavaScript instance function

Screenshot showing the syntax highlight color of JavaScript instance variables

+7

"/" "" node " " "JavaScript".

, !

+1

Source: https://habr.com/ru/post/1666443/


All Articles