Domanda

Qt Creator has an autocomplete/intellisense feature, but it matches only identifiers that strictly start with what you have typed:

For example, if I have a member called ui->label_4, and I start typing ui->label, it would get listed, but if I try typing ui->_4 or ui->l_4, it would not, because even though _4 is part of the identifier, it does not start with it.

Example:

enter image description here

Is there a way to enable mid-string matching in Qt Creator autocomplete? I looked everywhere in the options but I couldn't find anything.

My current version is Qt Creator 2.8.1

È stato utile?

Soluzione

I'm getting the mid-string matching behavior by default in Qt Creator 3.0. I don't recall ever seeing that behavior in prior versions of Qt Creator.

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top