Skip to content
Snippets Groups Projects
user avatar
Alexey Semenko authored
Since fuzzy completions are allowed, the lexicographically first proposal
is not necessarily most relevant. The patch modifies sorting of proposals
so that the exact match and continuations go first, and fuzzy completions
follow.

Moreover, being a continuation seem to be a more important characteristic
of a proposal, than being it a function argument or keyword etc. That's why
the check for continuation is placed before the check for order.

Task-number: QTCREATORBUG-8737
Task-number: QTCREATORBUG-9236
Change-Id: I89aae9d2ce6bfa59af7c2f75e6f3af00212008ca
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarAlexey Zhondin <lexxmark.dev@gmail.com>
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
da4c4b80
History
Name Last commit Last update
..
CppTools.pluginspec.in
abstracteditorsupport.cpp
abstracteditorsupport.h
builtinindexingsupport.cpp
builtinindexingsupport.h
commentssettings.cpp
commentssettings.h
completionsettingspage.cpp
completionsettingspage.h
completionsettingspage.ui
cppchecksymbols.cpp
cppchecksymbols.h
cppclassesfilter.cpp
cppclassesfilter.h
cppcodeformatter.cpp
cppcodeformatter.h
cppcodegen_test.cpp
cppcodestylepreferences.cpp
cppcodestylepreferences.h
cppcodestylepreferencesfactory.cpp
cppcodestylepreferencesfactory.h
cppcodestylesettings.cpp
cppcodestylesettings.h
cppcodestylesettingspage.cpp
cppcodestylesettingspage.h
cppcodestylesettingspage.ui
cppcompletion_test.cpp
cppcompletionassist.cpp
cppcompletionassist.h
cppcompletionassistprovider.cpp
cppcompletionassistprovider.h
cppcompletionsupport.cpp
cppcompletionsupport.h
cppcurrentdocumentfilter.cpp
cppcurrentdocumentfilter.h
cppdoxygen.cpp
cppdoxygen.h
cppfilesettingspage.cpp
cppfilesettingspage.h
cppfilesettingspage.ui
cppfindreferences.cpp
cppfindreferences.h
cppfunctionsfilter.cpp
cppfunctionsfilter.h
cppheadersource_test.cpp
cpphighlightingsupport.cpp
cpphighlightingsupport.h
cpphighlightingsupportinternal.cpp
cpphighlightingsupportinternal.h
cppindexingsupport.cpp
cppindexingsupport.h
cpplocalsymbols.cpp
cpplocalsymbols.h
cpplocatordata.cpp
cpplocatordata.h
cpplocatorfilter.cpp
cpplocatorfilter.h
cpplocatorfilter_test.cpp
cppmodelmanager.cpp
cppmodelmanager.h
cppmodelmanager_test.cpp
cppmodelmanagerinterface.cpp
cppmodelmanagerinterface.h
cpppointerdeclarationformatter.cpp
cpppointerdeclarationformatter.h
cpppointerdeclarationformatter_test.cpp
cpppreprocessertesthelper.cpp
cpppreprocessertesthelper.h
cpppreprocessor.cpp
cpppreprocessor.h
cpppreprocessor_test.cpp
cppprojectfile.cpp
cppprojectfile.h
cppqtstyleindenter.cpp
cppqtstyleindenter.h
cpprefactoringchanges.cpp
cpprefactoringchanges.h
cppsemanticinfo.cpp
cppsemanticinfo.h
cpptools.pro
cpptools.qbs
cpptools_dependencies.pri
cpptools_global.h
cpptoolsconstants.h
cpptoolseditorsupport.cpp
cpptoolseditorsupport.h
cpptoolsplugin.cpp
cpptoolsplugin.h
cpptoolsreuse.cpp
cpptoolsreuse.h
cpptoolssettings.cpp
cpptoolssettings.h
doxygengenerator.cpp
doxygengenerator.h
includeutils.cpp
includeutils.h
insertionpointlocator.cpp
insertionpointlocator.h
modelmanagertesthelper.cpp
modelmanagertesthelper.h