Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Functions as properties of object not showing in m

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Juxta Posted - May 16 2011 : 8:51:45 PM
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:



5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 20 2011 : 12:37:03 PM
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.
Juxta Posted - May 19 2011 : 6:37:37 PM
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
feline Posted - May 19 2011 : 2:31:17 PM
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.
Juxta Posted - May 18 2011 : 6:34:18 PM
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.
feline Posted - May 17 2011 : 4:08:12 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000