Talk:C++ Class Explorer Overview

From RAD Studio
Jump to: navigation, search

> "Source Window: An edit window focused on the declaration of the item selected in the Type List"

I'm a little worried about using the term "edit window" here. The reason is because I often hear "Oh, can I edit the source". Maybe we should stress "Read-Only" or "Code Preview" window... in order not to disappoint. Babetb


> Parsing: The C++ Class Explorer parses all the unit files registered in > your project, and it parses each single unit file that you subsequently save"

Originally I had plans to parse whenever a file is saved. However, I opted against because the 'Class Explorer' view is not active and the user may never activate it. Instead, I wait until the 'Class Explorer' is (re)activated. And at that point I parse all files that were not successfully compiled before (maybe because of errors) and files that have changed since the last successful compilation. Babetb.


> information obtained is used to order the nodes (units, classes, > interfaces, types) in the Type List tree and to order members > (fields, properties, and methods) displayed in the Member View.

This description is more for the Delphi Explorer. The C++ one may/does display fields/properties/methods in the 'Type List Tree' - not just in the 'Member View'. We don't do that in 'Hierarchy Grouping Mode' but in other grouping we do. I would also list namespaces as one of the items we list in the 'Type List Tree'. Babetb


> use an alternate icon to represent specific types of classes

This is mentioned in the 'Controlling the Display and Grouping of Classes and Interfaces'. Maybe I'm not understanding this correctly but we don't allow you to change the icon representing a symbol. ??


> Your custom groups can be enabled/disabled just like the pre-existing ones listed above (using the Explorer File Groups dialog box).

The section on 'Define Custom Groups' contains the above. The one thing that we have not decided yet is what to do with disabled 'File Groups'. Right now items for these just go to 'Other'. However, I'm thinking that it might be a nice way to allow users to exclude types from a particular library. Like if you don't want the 'View' to show 'BOOST' or 'STL', we could make the disabling of the 'Group' to mean 'Hide' declarations from this group. Thoughts?? Babetb


Thanks, Bruneau -- I think I've made all the changes you indicate. - Kris Houser




The 'References' tab lists the file and lines where the symbols selected in the Type List was referred to. Usually the first entry in the 'References' tab is the declaration of the symbol. The second one may be the definition, if it was encountered. The rest are references.


The 'Graph' tab displays information about the items selected in the Type List tree. For example, if you select a few classes in the Type List tree, the Graph tab will display the hierarchy of the selected symbols. Babetb 23:33, 22 July 2009 (PDT)

Response

Thanks, Bruneau -- I've added this information and changed the name of the Source window to Source/References/Graph window. -Kris Houser