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 <[email protected]>wrote:

> On Monday, February 10, 2014 20:36, qt-creator-bounces+nikolai.kosjar=
> [email protected] [qt-creator-bounces+nikolai.kosjar=
> [email protected]] on behalf of Jeandet Alexis [
> [email protected]] 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
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to