[Qt-creator] refactor "shortcut" proposition
petar.perisin at gmail.com
Thu Feb 13 23:08:56 CET 2014
it would be nice to create some sort of pop-up here. In generic projects it
is not uncommon that code editor does not see all symbols...
On Thu, Feb 13, 2014 at 9:54 PM, Kosjar Nikolai <Nikolai.Kosjar at digia.com>wrote:
> On Monday, February 10, 2014 20:36, qt-creator-bounces+nikolai.kosjar=
> digia.com at qt-project.org [qt-creator-bounces+nikolai.kosjar=
> digia.com at qt-project.org] on behalf of Jeandet Alexis [
> alexis.jeandet at lpp.polytechnique.fr] wrote:
> > When you use "Ctrl+left click" on method you can switch between
> > definition and declaration. So why not proposing to add the definition
> > if it doesn't exist when you use "Ctrl+left click" on the declaration?
> I don't see a problem with that. To the contrary, this looks user-friendly.
> Just make sure to inform the user that the definition does not exist,
> F2 (Follow Symbol) might (initially) be regarded as the shortcut for
> Quick Fixes.
> > If you like this:
> > Would some patch doing that be accepted?
> > Would it done directly by the current editor maintainers?
> Add me as a reviewer.
> See class InsertDefFromDecl for the Quick Fix functionality. F2 / Follow
> triggers FollowSymbolUnderCursor::findLink().
> Qt-creator mailing list
> Qt-creator at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qt-creator