Bug 337971 - [content assist] add "replace" button to [Quick Type Hierarchy][Ctrl+T]
Summary: [content assist] add "replace" button to [Quick Type Hierarchy][Ctrl+T]
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 08:48 EST by Forrest CLA
Modified: 2020-09-04 15:27 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forrest CLA 2011-02-23 08:48:44 EST
Build Identifier: 20100917-0705

It would be useful in situation when I include "exceptions.hh":
class IOError : public Exception {};
class MathError : public Exception {};
class RangeError : public Exception {};
class NotImplemented : public Exception {};
class SystemError : public Exception {};
class OutOfMemoryError : public SystemError {};
class InvalidStateException : public Exception {};

Now I want to throw an Exception.
throw Exception();
I look at hierarchy to see if I can throw something more specific
than a generic Exception(I don't remember the names of all exceptions).

Now instead of retyping the whole thing, I'd like to just click replace.


Reproducible: Always
Comment 1 Emanuel Graf CLA 2011-03-21 10:51:05 EDT
Moving to the editor component.
Comment 2 Emanuel Graf CLA 2011-03-21 10:52:45 EDT
reset qa contact