Solved Qt Creator auto completion problem
-
-
version
OS: Windows 10 Pro
Qt Creator: 4.8.0 -
configure
Tools/Options/Text Editor/Snippetsswitch ($control$) { case $value$: $$ break; default: break; }
-
result
-
problem
The second choice is what I want, the same as in the configure above.
But the default is the first chocie, which is not what I want.
How to remove the first chocie?
-
-
Might be a silly question, but did you try to select the second choice with mouse or down- and up-arrows and press enter?
-
@jronald ,
I tried a bit it.
For example, you write "switch" of character,It will result in the following state.In that state, you additionally write
' '
(space "swich ").
it view an only second choice. -
It'll be perfect if it shows only the 2nd choice and select it by default.
Where is the first choice come from? -
@KazuoAsano said in Qt Creator auto completion problem:
@jronald ,
I tried a bit it.
For example, you write "switch" of character,It will result in the following state.In that state, you additionally write
' '
(space "swich ").
it view an only second choice."switch " = 7 keys
"swi" + down-arrow = 4 keys
If the second chocie is the only choice, 3 keys. -
-
I guess the root cause for that is the same as for QTCREATORBUG-21767, so you could track that too.