Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
bf755ad1
Commit
bf755ad1
authored
Jul 31, 2009
by
Daniel Molkentin
Browse files
Enable include completion also for ObjectiveC's 'import'
parent
49672804
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
bf755ad1
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
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