Method @return hints not working as expected

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Method @return hints not working as expected

Postby jgarfield » Fri Aug 13, 2010 10:57 pm

In my method header, if I have something like

@return {Array}
or
@return {String}

Eclipse seems to pick up on it just fine, but if I try and do

@return {JSDataset}
or
@return {JSForm}

I'm not getting auto-complete on objects returned from methods as I would hope/expect. Am I referencing these things incorrectly or is this just not possible?
Programmer.
adBlocks
http://www.adblocks.com
jgarfield
 
Posts: 223
Joined: Wed Sep 28, 2005 9:02 pm
Location: Boston, US

Re: Method @return hints not working as expected

Postby jcompagner » Mon Aug 16, 2010 10:51 am

that currently doesn't work in 5.2, don't know if that would be very easy to implement in 5.2
This will very likely be improved greatly in 6.0


EDIT: found a way to fix it quite easy, fixed in 5.2.1
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Method @return hints not working as expected

Postby jgarfield » Mon Aug 16, 2010 4:31 pm

Thans Johan! You're the best (as always) :D
Programmer.
adBlocks
http://www.adblocks.com
jgarfield
 
Posts: 223
Joined: Wed Sep 28, 2005 9:02 pm
Location: Boston, US


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 5 guests

cron