[Qt-creator] refactor "shortcut" proposition

Petar Perisin 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,
> otherwise
> F2 (Follow Symbol) might (initially) be regarded as the shortcut for
> triggering
> 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
> Symbol
> triggers FollowSymbolUnderCursor::findLink().
>
> Nikolai
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140213/cab2e68f/attachment.html>


More information about the Qt-creator mailing list