summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodecompletion.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Keep the snapshot around when performing a global completionRoberto Raggi2010-01-121-1/+1
| |
* | Split CppCodeCompletion::startCompletion().Roberto Raggi2010-01-111-51/+100
| |
* | Be smarter about CamelCase when doing case-insensitive completionThorbjørn Lindeijer2009-12-111-8/+12
| | | | | | | | | | | | | | | | | | Even when an upper case character can also match a lower case one, it should only be treated as a CamelCase match when the matched character is also upper case. This avoids some false positives. Also, the part that allows a word in a CamelCase identifier to be truncated should never be matched case-insensitively.
* | Search symbols also in enum scopes.Roberto Raggi2009-12-101-2/+2
| |
* | Implemented first-letter case-sensitive for completion as defaultThorbjørn Lindeijer2009-12-091-6/+15
| | | | | | | | | | | | | | | | By default now only the first letter is case-sensitive. It is still possible to choose full or no case-sensitivity as well. Task-number: QTCREATORBUG-236 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* | Add only symbols declared in class scopes when performing class-completion.Roberto Raggi2009-12-081-0/+6
| |
* | Initial work on the new CPlusPlus::Snapshot.Roberto Raggi2009-12-071-1/+1
| | | | | | | | Encapsulate the details.
* | Moved Completion::getCompletion() in ICompletionCollector and made the ↵Roberto Raggi2009-12-021-0/+37
| | | | | | | | filtering of completion items more C++ friendly.
* | Use const names.Roberto Raggi2009-12-011-11/+11
| |
* | Merge remote branch 'origin/1.3'Oswald Buddenhagen2009-11-201-1/+10
|\ \ | |/ | | | | | | | | | | Conflicts: src/plugins/cpptools/cppcodecompletion.cpp src/plugins/help/helpplugin.cpp src/plugins/projectexplorer/projectexplorer.cpp
| * Fixed function argument widget text color in dark themesThorbjørn Lindeijer2009-11-201-0/+8
| | | | | | | | | | | | | | By setting the window and button text colors to the tool tip text color, since a tool tip background is drawn. Task-number: QTCREATORBUG-322
| * Fixed possible crash on constructor completionThorbjørn Lindeijer2009-11-191-1/+2
| | | | | | | | | | | | | | | | When constructor completion was attempted on a base class specified in a class declaration, a null pointer reference would occur. Task-number: QTCREATORBUG-321 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
* | Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead.Roberto Raggi2009-11-171-25/+25
| |
* | Introduced the quick fix engineRoberto Raggi2009-11-131-53/+0
| |
* | Fixed the AST field names.Roberto Raggi2009-11-101-2/+2
| |
* | Cleanup postfix declarators.Roberto Raggi2009-11-101-1/+1
| |
* | Removed DeclaratorListASTRoberto Raggi2009-11-101-2/+2
| | | | | | | | Done with Erik Verbruggen
* | Merge commit 'origin/1.3'con2009-11-091-14/+18
|\ \ | |/
| * Do never offer signature autocompletion for constructor calls.Christian Kamm2009-11-091-14/+18
| | | | | | | | | | | | | | | | | | | | They should always use the function parameter tooltip. This fixes a bug where you were offered completion for C foo( -> C foo(int x) if C had a constructor taking int x. Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* | Merge commit 'origin/1.3'con2009-11-041-8/+8
|\ \ | |/ | | | | | | Conflicts: src/plugins/qt4projectmanager/qt4project.cpp
| * Replace . with -> only when the base expression has type pointer to class.Roberto Raggi2009-11-041-8/+8
| | | | | | | | Reviewed-by: Thorbjørn Lindeijer
* | Merge commit 'origin/1.3'con2009-11-031-12/+24
|\ \ | |/ | | | | | | | | Conflicts: src/plugins/debugger/gdb/gdbengine.cpp src/plugins/qt4projectmanager/qt4project.cpp
| * Improve completion for function declarations.Christian Kamm2009-11-021-12/+24
| | | | | | | | | | | | | | | | | | Instead of just completing void A::foo(|) -> void A::foo(int i|), we now complete void A::foo(|) -> void A::foo(int i) const| where | represents the place of the cursor. Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* | Merge commit 'origin/1.3'con2009-10-261-0/+3
|\ \ | |/ | | | | | | | | | | Conflicts: src/plugins/cpptools/cppcodecompletion.h src/plugins/debugger/gdb/gdbengine.cpp src/plugins/qmleditor/QmlEditor.pluginspec
| * Initialize all the members of CppCodeCompletionRoberto Raggi2009-10-211-0/+3
| |
* | Merge remote branch 'origin/1.3'Oswald Buddenhagen2009-10-201-37/+50
|\ \ | |/ | | | | | | | | Conflicts: src/plugins/cpptools/cppcodecompletion.cpp src/plugins/debugger/gdb/remotegdbadapter.cpp
| * Fixed possible crash when completing top-level declarations.Roberto Raggi2009-10-201-3/+8
| |
| * Don't acticate completion inside C++-like comments.Roberto Raggi2009-10-201-30/+30
| |
| * Fix function signature completion for cv-qualified functions.Christian Kamm2009-10-201-4/+12
| | | | | | | | Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
| * Add completion for function signatures.Christian Kamm2009-10-201-3/+77
| | | | | | | | | | | | | | | | | | You now get the function parameters as a completion suggestion when declaring or defining a function. The tooltip for function calls is unchanged. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> (cherry picked from commit 202fef42ca2104a7113958c0cbfbdf1cce2024f8)
* | Add completion for function signatures.Christian Kamm2009-10-191-3/+77
| | | | | | | | | | | | | | | | You now get the function parameters as a completion suggestion when declaring or defining a function. The tooltip for function calls is unchanged. Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
* | Merge remote branch 'origin/1.3'con2009-10-161-133/+68
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: src/plugins/cpptools/CppTools.pluginspec src/plugins/help/Help.pluginspec src/plugins/locator/Locator.pluginspec src/plugins/projectexplorer/ProjectExplorer.pluginspec src/plugins/texteditor/TextEditor.pluginspec
| * Added support to complete function-call operators.Roberto Raggi2009-10-161-13/+41
| |
| * Simplified member completion.Roberto Raggi2009-10-161-120/+27
| | | | | | | | Share code with ResolveExpression.
* | Added Objective-C @-keywords to the completion.Erik Verbruggen2009-10-091-2/+21
|/
* Improved the detection of #include-like directives.Roberto Raggi2009-10-081-14/+9
|
* Enable completion in C++ ctor-initializers. For example,Roberto Raggi2009-10-081-4/+15
| | | | | | | struct foo { int m_zoo; foo(): m_ // cursor is here.
* Renamed `awesome' :)Roberto Raggi2009-10-051-4/+4
|
* Removed the m_ prefix used in the public members of CompletionItemRoberto Raggi2009-10-051-34/+34
|
* Improved template instantiation.Roberto Raggi2009-10-051-9/+11
|
* Support include completion for frameworks on Mac.con2009-10-011-0/+17
| | | | | Which is 'quite' important, since Qt builds by default generate frameworks.
* FullySpecifiedType::simplified() strips references from the type.Roberto Raggi2009-09-301-19/+6
|
* Handle ctor-initializers in the LookupContext.Roberto Raggi2009-09-291-5/+4
|
* Avoid completing a closing parenthesis in the wrong placeThorbjørn Lindeijer2009-09-221-4/+8
| | | | Need to check the character to the right of the cursor.
* move auto parentheses handling into the cpp editormae2009-09-171-3/+1
|
* Fixed the completion to take into account auto parentheses insertionThorbjørn Lindeijer2009-09-161-4/+18
| | | | | | Also skip semicolons in when auto parentheses insertion is enabled. Done with mae.
* Optimized startOfOperator a bitThorbjørn Lindeijer2009-08-281-30/+52
|
* long live the kinghjk2009-08-141-1/+1
|
* Enable include completion also for ObjectiveC's 'import'Daniel Molkentin2009-07-311-1/+2
|
* Made trailing slash trigger the next include completionThorbjørn Lindeijer2009-07-241-0/+6
| | | | | | | | | | | The completion for the directory wasn't triggered because one of the items matched the typed string, so the list of completion wasn't empty and no new trigger was allowed. By not matching items when a trailing slash is typed, the list is allowed to trigger again from the new location. Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>