[Qt-creator] Qt Creator locator build commands mapping
Shinnok
admin at shinnok.com
Fri Feb 20 08:10:46 CET 2015
Not sure how many of you are similar with the Help search functionality in OS X, basically one presses CMD+? keyboard shortcut and is presented with a search box in the Menubar that allows the user to search and execute for options residing in the File menus(as well as help items). Screenshot:
I find my self frequently using this OS X functionality when working on that platform. The reason for that is that I frequently switch dev platforms and hardware and quite often it gets hard to think for a second or so what was the keyboard shortcut for a specific command on the current platform I’m working on.
Thus I arrived to this conclusion, having an alternative to this OS X only perk built into the Locator itself, would yield itself as very useful solution provided by The Creator itself and available on all platforms.
Regards.
> On Jan 15, 2015, at 4:46 PM, Benjamin Zeller <benjamin.zeller at canonical.com> wrote:
>
> Am 15.01.2015 um 14:24 schrieb Ziller Eike:
>>> On Jan 15, 2015, at 1:34 PM, Tobias Hunger <tobias.hunger at theqtcompany.com> wrote:
>>>
>>> Hi
>>>
>>> You can already assign shortcuts to build/run/clean/deploy/rebuild. So
>>> why do you want to go through the locator to trigger those? Ctrl-K
>>> "build" is way more to type than Ctrl-B:-)
>>>
>>> Benjamin: Why would we want to have every action from the ActionManager
>>> in the Locator?
>> It couldn’t work that way, since the availability of an action (and what it actually exactly does) might heavily depend on where the focus currently is.
>> Think Ctrl+z (Undo) ;)
> Ok, true the actions are not always available and it does not make sense
> for all of them.
> So exposing all actions is not the right idea, but a way to map custom
> locator commands to actions from ActionManager would work.
> So you map "Run QML checks" to ";qc" in Locator. Just as an example.
>
> Maybe even a chain of actions, a bit like a macro.
>>
>>> Best Regards,
>>> Tobias
>>>
>>> --
>>> Tobias Hunger, Senior Software Engineer | The Qt Company
>>>
>>> Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
>>> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der
>>> Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB
>>> 144331 B
>>>
>>> Email: tobias.hunger at theqtcompany.com | Phone: +49 30 63 92 3255
>>> www.qt.io | Qt Blog: http://blog.qt.digia.com/ | Twitter: @QtbyDigia,
>>> @Qtproject | Facebook: www.facebook.com/qt
>>>
>>> On Do, Jan 15, 2015 at 12:19 , Benjamin Zeller
>>> <benjamin.zeller at canonical.com> wrote:
>>>> Am 15.01.2015 um 11:55 schrieb Shinnok:
>>>>> Hi,
>>>>>
>>>>> Is there a way to add/access the builtin build commands(clean,
>>>>> rebuild) and other Qt Creator actions to the Locator? I know that I
>>>>> can call custom CLI commands with the ! prefix from the Locator, but
>>>>> I am looking for something more similar to the Fake Vim Command
>>>>> Mapping approach.
>>>> I agree, that would be interesting. Probably exposing the
>>>> Core::ActionManager to the
>>>> Locator would be an idea?
>>>>
>>>>> Regards,
>>>>> Shinnok
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> Qt-creator at qt-project.org
>>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> Qt-creator at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
> _______________________________________________
> 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/20150220/f3bdfa7a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-02-20 at 9.02.24 AM.png
Type: image/png
Size: 193492 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150220/f3bdfa7a/attachment.png>
More information about the Qt-creator
mailing list