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
 JavaScript listing functions inside functions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ycc
New Member

8 Posts

Posted - Jul 30 2010 :  10:18:48 PM  Show Profile  Reply with Quote
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)

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 02 2010 :  2:41:09 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=25370
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 16 2011 :  1:59:02 PM  Show Profile  Reply with Quote
case=25370 is fixed in build 1862
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