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
..
images
QmlJSEditor.pluginspec.in
jsfilewizard.cpp
jsfilewizard.h
qmlexpressionundercursor.cpp
qmlexpressionundercursor.h
qmlfilewizard.cpp
qmlfilewizard.h
qmljsautocompleter.cpp
qmljsautocompleter.h
qmljscompletionassist.cpp
qmljscompletionassist.h
qmljscomponentfromobjectdef.cpp
qmljscomponentfromobjectdef.h
qmljscomponentnamedialog.cpp
qmljscomponentnamedialog.h
qmljscomponentnamedialog.ui
qmljseditor.cpp
qmljseditor.h
qmljseditor.pro
qmljseditor.qbs
qmljseditor.qrc
qmljseditor_dependencies.pri
qmljseditor_global.h
qmljseditorconstants.h
qmljseditoreditable.cpp
qmljseditoreditable.h
qmljseditorfactory.cpp
qmljseditorfactory.h
qmljseditorplugin.cpp
qmljseditorplugin.h
qmljsfindreferences.cpp
qmljsfindreferences.h
qmljshighlighter.cpp
qmljshighlighter.h
qmljshighlighterfactory.cpp
qmljshighlighterfactory.h
qmljshoverhandler.cpp
qmljshoverhandler.h
qmljsoutline.cpp
qmljsoutline.h
qmljsoutlinetreeview.cpp
qmljsoutlinetreeview.h
qmljspreviewrunner.cpp
qmljspreviewrunner.h
qmljsquickfix.cpp
qmljsquickfix.h
qmljsquickfixassist.cpp
qmljsquickfixassist.h
qmljsquickfixes.cpp
qmljsreuse.cpp
qmljsreuse.h
qmljssemantichighlighter.cpp
qmljssemantichighlighter.h
qmljssemanticinfoupdater.cpp
qmljssemanticinfoupdater.h
qmljssnippetprovider.cpp
qmljssnippetprovider.h
qmljswrapinloader.cpp
qmljswrapinloader.h
qmloutlinemodel.cpp
qmloutlinemodel.h
qmltaskmanager.cpp
qmltaskmanager.h
quicktoolbar.cpp
quicktoolbar.h
quicktoolbarsettingspage.cpp
quicktoolbarsettingspage.h
quicktoolbarsettingspage.ui