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.

11 comments
Comment actions Permalink

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.

0
Comment actions Permalink

What is "lila sign p"? Dp you mean key icon, which means that property/method is protected?

0
Comment actions Permalink

Hi,

that was what I was searching for, thanks! Does the little circle behind an icon have a meaning too?

Johannes

0
Comment actions Permalink

If you mean this square in the bottom left corner
static.png
it means that property/method is static.

0
Comment actions Permalink

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!

0
Comment actions Permalink

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").

0
Comment actions Permalink

Hi,

no problem, here it comes:

0
Comment actions Permalink

Hope it is clear now.



Attachment(s):
Icon 'm' with circle.bmp
0
Comment actions Permalink

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.

0
Comment actions Permalink

p means parameter

0

Please sign in to leave a comment.