Meaning of the icons for class, variable, method in the Structure tree
Hi,
I'm working with JetBrains WebStorm and JavaScript code and couldn't find a description of the icons in the Structure tree, i.e. the blue c, the red m, the yellow v, etc. Is there a summary of the meanings somewhere?
Some of them I found out myself because they are rather obvious like c stands for class, v for variable, m for method and the lock is when a variable or method is private. But what does the lila p mean? Furthermore, there is a little circle behind the icon sometimes, but in other cases not. What's the difference then?
Thanks a lot.
请先登录再写评论。
http://youtrack.jetbrains.net/issue/WI-5659
Hi,
thanks for answering. I understand if it's against the idea behind the structure. But maybe this could be described somewhere in the help section? And a quick answer about the lila sign p would be great.
Bye.
What is "lila sign p"? Dp you mean key icon, which means that property/method is protected?
Hi,
that was what I was searching for, thanks! Does the little circle behind an icon have a meaning too?
Johannes
If you mean this square in the bottom left corner

it means that property/method is static.
This is nice to know as well but until now I haven't stumbled over it yet. I actually wanted to know the circle that is situated between the red m (method) or the c (class) and the name of the method/class. For the method it seems it has something to do with how it is defined, i.e. as:
method: function(){...}
or object.method = function(){...}
I would be glad about a hint. The symbol are getting cleared up in my mind ... Thanks!
Please post a screenshot -- it will be much quicker and easier to work out which icon you are referring to compared to guessing (like "lila sign p" which appears to be "key icon").
Hi,
![]()
no problem, here it comes:
Hope it is clear now.
Attachment(s):
Icon 'm' with circle.bmp
Hi Johannes,
Sorry, I'm not using/know JavaScript that much and cannot advise on this symbol -- I would like to know what it means as well.
p means parameter