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
 Feature Requests
 scope aware suggestion list
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alexandrk
New Member

Netherlands
2 Posts

Posted - Aug 13 2008 :  04:08:21 AM  Show Profile  Reply with Quote
Is it possible to make scope aware suggestions: do not show private members and methods of class when we are not in the scope of this class; show only protected and public methods and members in the scope of derived class; show all methods and members in the friend functions; ... .

Example:

  class TestClass
  {
    private:
      int i;
      int j;
    private:
      internalInit();
    public:
      init();
  };

  void TestClass::init()
  {
    this->... // shows all members and methods of the TestClass ('i', 'j', 'init', 'internalInit')
  }

  void main()
  {
    TestClass* testClass;
    testClass-> // shows only method 'init'
  }


Edited by - alexandrk on Aug 13 2008 05:16:01 AM

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 13 2008 :  09:18:32 AM  Show Profile  Reply with Quote
We do not have any current plans to try and do this. In this example it is fairly obvious when to hide private items. But in real code, especially when using friend functions, macro's and other variables it can be much harder to work this out.

Have you tried using the filter bar that appears at the bottom of the listbox when you hover the mouse over it?

http://www.wholetomato.com/products/features/members.asp

You can use this to limit the listbox to only showing you public items.

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