Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 2.2.0-beta
-
None
Description
Thanks for new snippets feature - it works great.
But this feature is not unique to Qt Creator - it was implemented many years ago in TextMate text editor for MacOS. And as it became popular, it was also ported to VIM, Emacs, Eclipse, Visual Studio and all major IDE's and text editors. All implementation have one common behavior: they use TAB key to expand snippet. So the editing cycle is to enter snippet name, hit TAB to expand it, replace placeholder, hit TAB to goto next placeholder, expand it etc.
Qt Creator implementation works great, but it have ctrl+space snippet trigger and requires the snippet to be manually selected among autocompletion choices. This kills the snippets speed and looks very alien and counter-intuitive for any person who used snippets before on any editor or IDE.
I suggest to make a checkbox in Qt Creator options "Use TAB for snippets trigger". So if this checkbox is set, Qt Creator will expand snippet on single TAB hit, without a need to select a snippet among non-relevant autocompletion choices. This will make snippets really useful and fast way to write code.