- enhancement: Hide symbols that contains "<>" in code suggestions.
This commit is contained in:
parent
9a51678d09
commit
b449085870
3
NEWS.md
3
NEWS.md
|
@ -20,7 +20,8 @@ Red Panda C++ Version 2.26
|
||||||
- fix: Code suggestion for identifiers after '*' (eg. 3 * item->price) can't correct.
|
- fix: Code suggestion for identifiers after '*' (eg. 3 * item->price) can't correct.
|
||||||
- fix: C++ compiler atrribute '[[xxx]]' are not correctly handled.
|
- fix: C++ compiler atrribute '[[xxx]]' are not correctly handled.
|
||||||
- fix: If the integrated gcc compiler is add to path, auto find compilers will find in twice. (Windows)
|
- fix: If the integrated gcc compiler is add to path, auto find compilers will find in twice. (Windows)
|
||||||
- enhancement: when induce type info for return value, try to select the overloaded one that doesn't have an "auto" type.
|
- enhancement: When induce type info for return value, try to select the overloaded one that doesn't have an "auto" type.
|
||||||
|
- enhancement: Hide symbols that contains "<>" in code suggestions.
|
||||||
|
|
||||||
Red Panda C++ Version 2.25
|
Red Panda C++ Version 2.25
|
||||||
|
|
||||||
|
|
|
@ -296,7 +296,8 @@ void CodeCompletionPopup::addStatement(const PStatement& statement, const QStrin
|
||||||
&& (fileName == statement->fileName))
|
&& (fileName == statement->fileName))
|
||||||
return;
|
return;
|
||||||
mAddedStatements.insert(statement->command);
|
mAddedStatements.insert(statement->command);
|
||||||
mFullCompletionStatementList.append(statement);
|
if (statement->kind == StatementKind::skUserCodeSnippet || !statement->fullName.contains("<"))
|
||||||
|
mFullCompletionStatementList.append(statement);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool nameComparator(PStatement statement1,PStatement statement2) {
|
static bool nameComparator(PStatement statement1,PStatement statement2) {
|
||||||
|
|
Loading…
Reference in New Issue