forked from qt-creator/qt-creator
Enable include completion also for ObjectiveC's 'import'
This commit is contained in:
@@ -669,7 +669,8 @@ static int startOfOperator(TextEditor::ITextEditable *editor,
|
||||
break;
|
||||
const SimpleToken &previousToken = tokens.at(i - 1);
|
||||
if (previousToken.is(T_IDENTIFIER)) {
|
||||
if (previousToken.text() == QLatin1String("include")) {
|
||||
if (previousToken.text() == QLatin1String("include") ||
|
||||
previousToken.text() == QLatin1String("import")) {
|
||||
include = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user