Closed
Bug 1284663
Opened 9 years ago
Closed 5 years ago
Add option to type context menu to show fields of class
Categories
(Webtools Graveyard :: DXR, defect)
Webtools Graveyard
DXR
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: nika, Unassigned)
Details
Often, due to the way that C++ intermingles methods on a class and the fields of a class in the source text, it is difficult to find what actual data is stored in a class.
It would be nice if there was an option, like "show members", to show only the data fields which a class provides.
Comment 1•9 years ago
|
||
That's a fine idea and suggests a new piece of DXR framework: one for showing things inline (rather than executing a search or jumping to a source code location). Another use for this, one I've had in mind for a long time, is showing a diagram of the class hierarchy, with classes of course hyperlinked to their definitions.
| Reporter | ||
Comment 2•9 years ago
|
||
It may be a bit too much for this bug, but it would be pretty cool if this display actually showed the structure of the class in memory too, so that you could see how the class will be laid out, how much space it will take up, and what padding looks like (so, for example, you could see that the members are arranged inefficiently and could be re-arranged to pack better).
That maybe should be a separate visualization however.
Comment 3•5 years ago
|
||
DXR is no longer available. Searchfox is now replacing it.
See meta bug 1669906 & https://groups.google.com/g/mozilla.dev.platform/c/jDRjrq3l-CY for more details.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•