PDA

View Full Version : Qt Creator Autocompletion removes text.



Dax
23rd June 2017, 14:36
I'm working with the git version of the Qt Creator under Linux with CLang 4.0 Code Model.

Every time I use the auto completion (CTRL + SPACE) the editor deletes some of the text in the line. For example:


void MyClass::fnc()
{
hello);
}

When I type direct in front of the word 'hello':


...
this->hello);
...

(The cursor is after the > ) Then I hit CTRL + SPACE and select a method, the word 'hello' will be replaced by the method name I selected. This does not happen when there is a space in between. The same thing happen when there is only ); the the ); will be removed. Or there is (a,b) the the open ( gets removed.

That strange behavior is really annoying. I might get so far call this a bug. The editor should never remove text by itself.

Is there a switch to deactivate this remove behavior?

Thanks.