Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Functions as properties of object not showing in m
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Juxta
Senior Member

27 Posts

Posted - May 16 2011 :  8:51:45 PM  Show Profile  Reply with Quote
Functions as properties of object not showing in method lists or outline window.
I work allot with dojo javascript library which is highly abstract.
Classes and code are assembled created by manipulating objects passed into declaration functions.
Although visual studio handles this quite well as far as alowing breakpoints to be set in these code blocks. There is no support for listing as methods.
I think that list methods in file should scan for all javascript code that is declared as property methods.
Example:
{
myfunction:function(arg){
...code here ...
return;
}
}


I think this should be listed as

object {
myfunction = function(arg)
myfunction1 = function(arg)
myfunction2 = function(arg)
}


Similar to prototypes are at present but without the word prototype.

dojo has some files that contain hundreds of functions and its a pain to locate functions without them listed as methods when essentially they are.
Would also be nice to see them in the symbols windows.

This should be an easy patch for you guys I would hope.

See screenshots below.

Declaritive method in file:


What Visual Assist shows:


What the List Methods show:




Edited by - Juxta on May 16 2011 9:03:40 PM

feline
Whole Tomato Software

United Kingdom
18958 Posts

Posted - May 17 2011 :  4:08:12 PM  Show Profile  Reply with Quote
We are working on improving suport for the dojo JavaScript library:

case=21251

So hopefully over time VA will do a better job of handling this code.

zen is the art of being at one with the two'ness
Go to Top of Page

Juxta
Senior Member

27 Posts

Posted - May 18 2011 :  6:34:18 PM  Show Profile  Reply with Quote
Any idea how case 21251 is progressing?
This has been out there for a while but nothing yet?
This would really make our lives easier since we have to work with Dojo.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18958 Posts

Posted - May 19 2011 :  2:31:17 PM  Show Profile  Reply with Quote
Unfortunately progress seems to be slow. Our parser was not originally designed to handle code that works like this, and this is just one of many feature requests and bug reports that we are currently looking at.

zen is the art of being at one with the two'ness
Go to Top of Page

Juxta
Senior Member

27 Posts

Posted - May 19 2011 :  6:37:37 PM  Show Profile  Reply with Quote
So... "Unfortunately progress seems to be slow" is an indication that we should just forget about this feature and if we are lucky enough it may just happen in our life time?
Or is there some sort of indicative time you can give us
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18958 Posts

Posted - May 20 2011 :  12:37:03 PM  Show Profile  Reply with Quote
From the notes on the case, not much active work is currently being done on it, but this has been looked at, worked on, but the required changes were not as simple as we first hoped they might be. This is still in our list, and it is something we hope to look at, but juggling all of the different bug reports and feature requests can be difficult, as I am sure you can understand.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000