Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Quick Fix vs Quick Assist



On Thu, May 6, 2010 at 9:52 AM, Kos <kosashi@xxxxxxxxx> wrote:
Hello,

I have a question about two extension points of CDT. Let's have a look at their descriptions:

org.eclipse.cdt.ui.quickFixProcessors:
"This extension point allows to add a Quick Fix processor to offer new Quick Fixes on C/C++ problems. "

org.eclipse.cdt.ui.quickAssistProcessors:
"This extension point allows to add a Quick Assist processor to offer new Quick Assists in the C/C++ editor. "

The comments suggest that a "quick fix" is triggered on a specific problem while "quick assist" is something which can be called any time in the editor.

This division seems clear, but I've noticed that the function "Rename in file", which according to above definitions is a Quick Assist, is available in the menu available by Ctrl+1 - and in the Edit menu it is written that Ctrl+1 triggers "Quick Fix". I'm confused now - Is there an inconsistency here?

Rename in File is part of Quick Fix to stay close to JDT. In JDT it can play a double role, of renaming to avoid a name collision (with an error marker) and renaming at will. 

-- Tomasz Wesolowski

-sergey


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top