- enhancement: Hide symbols that contains "<>" in code suggestions.

This commit is contained in:
Roy Qu 2023-10-27 20:28:41 +08:00
parent 9a51678d09
commit b449085870
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,8 @@ Red Panda C++ Version 2.26
- fix: Code suggestion for identifiers after '*' (eg. 3 * item->price) can't correct.
- 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)
- 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

View File

@ -296,6 +296,7 @@ void CodeCompletionPopup::addStatement(const PStatement& statement, const QStrin
&& (fileName == statement->fileName))
return;
mAddedStatements.insert(statement->command);
if (statement->kind == StatementKind::skUserCodeSnippet || !statement->fullName.contains("<"))
mFullCompletionStatementList.append(statement);
}