forked from qt-creator/qt-creator
Clang: Decrease order of snippets
The order is 0 by default and thus the snippet items were at the very
top, e.g.:
enum EnumType { EnumValue };
void f()
{
EnumType et = // Complete here and see snippet items at top
}
Change-Id: I70a160d102b91a2589972354c50aa5f0b29323e8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
80352d703c
commit
14428c1586
@@ -45,7 +45,7 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT CppCompletionAssistProcessor : public TextEditor::IAssistProcessor
|
||||
{
|
||||
public:
|
||||
CppCompletionAssistProcessor();
|
||||
CppCompletionAssistProcessor(int snippetItemOrder = 0);
|
||||
|
||||
protected:
|
||||
void addSnippets();
|
||||
|
||||
Reference in New Issue
Block a user