- change: symbols that exactly match are sorted to the front in the code suggestion popup list
- fix: symbols defind locally should be sorted to the front in the code suggestion popup list
This commit is contained in:
parent
5b699f2b46
commit
52a29a4d43
1
NEWS.md
1
NEWS.md
|
@ -4,6 +4,7 @@ Red Panda C++ Version 0.13.3
|
|||
- fix: If project's compiler set is not the same with the default compiler set, parser for the project doesn't use the project's compiler set
|
||||
- fix: If project's compiler set is not the same with the default compiler set, auto openned project's file will use wrong compiler set to do syntax check.
|
||||
- change: symbols that exactly match are sorted to the front in the code suggestion popup list
|
||||
- fix: symbols defind locally should be sorted to the front in the code suggestion popup list
|
||||
|
||||
Red Panda C++ Version 0.13.2
|
||||
- fix: "delete and exit" button in the environtment / folder option page doesn't work correctly
|
||||
|
|
|
@ -335,9 +335,9 @@ static bool sortByScopeWithUsageComparator(PStatement statement1,PStatement stat
|
|||
} else if (statement2->kind == StatementKind::skKeyword) {
|
||||
return false;
|
||||
// Show stuff from local headers first
|
||||
} else if (statement1->inSystemHeader && ! (statement2->inSystemHeader)) {
|
||||
return true;
|
||||
} else if (!(statement1->inSystemHeader) && statement2->inSystemHeader) {
|
||||
return true;
|
||||
} else if (statement1->inSystemHeader && !(statement2->inSystemHeader)) {
|
||||
return false;
|
||||
// Show local statements first
|
||||
} else if (statement1->scope != StatementScope::ssGlobal
|
||||
|
|
Loading…
Reference in New Issue