On Monday, February 10, 2014 20:36, [email protected] [[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
