Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Is the jsdoc @this unsupported?
icon5.gif  Is the jsdoc @this unsupported? [message #734755] Sun, 09 October 2011 19:52 Go to next message
Shedokan  is currently offline Shedokan Friend
Messages: 2
Registered: October 2011
Junior Member
I have been trying to use @this from JsDoc, to let JSDT know that the variable 'self' really means 'this'.

/**
 * MyClass
 * 
 * @this {me}
 */
var MyClass = function(){
    var self = this;
    me.parameter = parameter;
};

var a = new MyClass();
a.parameter = 'something'; // Doesn't autocompletes


Is this supported? and if it isn't why not?

Thanks.

[Updated on: Sun, 09 October 2011 21:24]

Report message to a moderator

Re: Is the jsdoc @this unsupported? [message #734809 is a reply to message #734755] Mon, 10 October 2011 02:51 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

There's no such tag in JSDoc 2 liasted at http://code.google.com/p/jsdoc-toolkit/wiki/TagReference . No work has been done to support JSDoc 3, yet, nor has anyone put forth a quality patch implementing it.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Is the jsdoc @this unsupported? [message #734925 is a reply to message #734809] Mon, 10 October 2011 12:41 Go to previous message
Shedokan  is currently offline Shedokan Friend
Messages: 2
Registered: October 2011
Junior Member
Oh, I thought that if it's in wikipedia then it must be part of "modern JSDoc" like stated there.

Thank you for your answer.
Previous Topic:utf-8 encoding
Next Topic:Re: How make correct configuration for JavaScript work
Goto Forum:
  


Current Time: Thu Apr 25 07:40:52 GMT 2024

Powered by FUDForum. Page generated in 0.02515 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top