Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 scope aware suggestion list

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
alexandrk Posted - Aug 13 2008 : 04:08:21 AM
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'
  }

1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 13 2008 : 09:18:32 AM
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.

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