Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 10.0.1, Qt Creator 11.0.0-beta1
-
None
Description
The snippet variables feature seems to be gone in new Qt Creators.
In snippets you can have variable enclosed in $$ and if one has multiple occurrences, all of them will be replace by the text you enter. You can also navigate to edit other variables with TAB.
This happens with both built-in and custom snippets, and C++ or QML context ones too.
For example when I trigger the Q_PROPERTY($type$ $name$ READ $name$ WRITE set$name:c$ NOTIFY $name$Changed FINAL) snippet, the first type get correctly selected but I can't tab to edit the name variable. Tab just inserts a tab, enter also does not "finish" the snippet edition as before but just inserts a new line.
I am not aware of how it works under the hood but it seems that there was a "snippet editing mode" that isn't being activated anymore.