admin管理员组文章数量:1278980
Why JS variables have different colors in JetBrains WebStorm 2016 ? There are no significant differences between express
, path
, favicon
... variables: I use them all in the code.
Do these colors mean something, is it normal behavior of WebStorm? If not - how to change them?
Why JS variables have different colors in JetBrains WebStorm 2016 ? There are no significant differences between express
, path
, favicon
... variables: I use them all in the code.
Do these colors mean something, is it normal behavior of WebStorm? If not - how to change them?
Share Improve this question edited Jan 13, 2017 at 21:25 Serob_b asked Jan 11, 2017 at 0:20 Serob_bSerob_b 1,06913 silver badges32 bronze badges2 Answers
Reset to default 10The colours for those member fields are different because they are different types.
The fields coloured purple are object variables and the fields in light orange are function variables.
IntelliJ (or WebStorm) has determined this by examining the export field of the targeted JavaScript files.
See screenshots below:
Open Settings/Preferences dialog, and under the File node, click Colors & Fonts and select JavaScript. From right panel you can change all the colors
It's important to note that the check box Use inherited attributes is selected!
For more detail go to this link
Change Colors
本文标签: nodejsJavaScript variable color in JetBrains WebStormStack Overflow
版权声明:本文标题:node.js - JavaScript variable color in JetBrains WebStorm - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741208111a2358557.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论