Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
770a6a79
Commit
770a6a79
authored
Dec 03, 2010
by
Leandro Melo
Committed by
con
Dec 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
C++ editor: Don't sort global completions for performance reasons
Reviewed-by: Roberto Raggi
parent
31422318
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/plugins/cpptools/cppcodecompletion.cpp
src/plugins/cpptools/cppcodecompletion.cpp
+1
-3
No files found.
src/plugins/cpptools/cppcodecompletion.cpp
View file @
770a6a79
...
...
@@ -1126,11 +1126,9 @@ void CppCodeCompletion::globalCompletion(Scope *currentScope)
completeNamespace
(
b
);
addKeywords
();
addSnippets
();
qStableSort
(
m_completions
.
begin
(),
m_completions
.
end
(),
completionItemLessThan
);
addMacros
(
QLatin1String
(
"<configuration>"
),
context
.
snapshot
());
addMacros
(
context
.
thisDocument
()
->
fileName
(),
context
.
snapshot
());
addSnippets
();
}
static
Scope
*
enclosingNonTemplateScope
(
Symbol
*
symbol
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment