Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 JavaScript listing functions inside functions

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
ycc Posted - Jul 30 2010 : 10:18:48 PM
Don't know if this is a known bug or not but seems like in VA Outline and alt-m listing Visual Assist doesn't list functions inside functions. An example is this:

function test1() {}

(function() {
function test2() {}
function test3() {}
})();


The list looks like this:



Auto-complete, however, does pick up on the functions:



Declaring functions inside others is a very useful way of achieving encapsulation, so it would be nice to have that functionality for Visual Assist. (Btw, the JSON notation of declaring member functions doesn't work very well too but I think there is a post about that already)
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 16 2011 : 1:59:02 PM
case=25370 is fixed in build 1862
accord Posted - Aug 02 2010 : 2:41:09 PM
I am seeing the same effect here. Thank you for the clear description.

case=25370

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