JavaDoc in Servoy of plugin

This is getting frustrated :(

Now that I’m able to get the ToolTip, Sample, etc… I can’t access my public variables.
So in servoy, when i do:

obj.createUser();

A tooltip pops up giving me the right information.
But when I do:

obj.userName = 'John Appleseed';

I can’t access the variable ‘userName’.
When I look in the Solution Explorer under ‘plugins > proofHQ’, I can only see my methods but no variables.

You need to do getter and setter methods like js_getUserName() and js_setUserName(userName) so they appear as properties.

did you create getters and setters for your variables (also prefix with js_)?

Did the trick, forgot that i had to use getters and setters :) Thanks!