summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodecompletion.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | More intelligent function argument widgetThorbjørn Lindeijer2009-02-121-35/+26
| | | | | | | | | | Now it shows immediately when there is only a single signature of a given method/constructor.
* | Revert now unnecessary checks for null-typesThorbjørn Lindeijer2009-02-101-17/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commits: c721304a4731a91a9e143a54d2ab3ef89526e05e 885d908ea336de72e7fce2141c1060e425f2af0a a0909989f7d71ee754cdb61202a519cabff25f7c fb4ad59ddbf727f13f29df6bcff80a88e1e1a319 0a9a67cf547701a278f19dbe2b9fb0a70a36cdb8 0d1624d4d1d5ce4e350476fbc86a361fad2ef6b8 d018cfd5cb4aad0101c321fe2fcf9b21598e9590 0504fdd00bce8d9580a52335093b57215f4272da a2fd10fe193dbf8369e43d7df9a59503c8853b2b Conflicts: src/plugins/cpptools/cppcodecompletion.cpp Reviewed-by: Roberto Raggi
* | Fix for crash when doing signal completionThorbjørn Lindeijer2009-02-101-1/+3
| |
* | Avoid inserting characters that are already thereThorbjørn Lindeijer2009-02-101-5/+20
| | | | | | | | | | When completing, don't insert "();" characters when they're already there. Skip them instead.
* | Fixes: Possible crash in completeMember.Roberto Raggi2009-02-101-1/+3
| |
* | Fixes: Possible crash when completing constructors.Roberto Raggi2009-02-091-1/+8
| |
* | Fixes: Possible crash when completing a function with (void) argument.Roberto Raggi2009-02-091-1/+2
| |
* | Fixes: Another possible crashRoberto Raggi2009-02-091-1/+2
| |
* | Reimplemented Type::as*Type() using virtual methods.Roberto Raggi2009-02-091-20/+20
| |
* | Completion for constructors used on initializationThorbjørn Lindeijer2009-02-041-23/+62
|/ | | | | | | Deals with cases like "QString s(", but for the moment doesn't handle yet "QString const s(". Done with Roberto Raggi.
* Fixes: Do not activate member completion when class names are used as base ↵Roberto Raggi2009-02-041-2/+6
| | | | of a DOT or ARROW expression.
* Fixes: Member completion when the symbol's type is ClassTy.Roberto Raggi2009-02-031-1/+5
| | | | | | | | | | | | For example, struct { int a, b } foo; int main() { foo. <- }
* Don't replace . with -> in case of primitive typesThorbjørn Lindeijer2009-02-031-6/+8
| | | | Reviewed-by: Roberto Raggi
* Fixes: some less caching of the ICore singleton pointerhjk2009-01-281-7/+7
|
* Fix SIGNAL/SLOT completion with spaces after opening braceThorbjørn Lindeijer2009-01-261-6/+11
| | | | | | Spaces after the opening brace would cause SIGNAL/SLOT completion to be disabled along with function completion. Now function completion is checked at a later stage.
* Don't add the objc++ keywords to the completion box.Roberto Raggi2009-01-141-1/+1
|
* Bump year in licence header.Daniel Molkentin2009-01-131-1/+1
|
* Windows compile warningFriedemann Kleint2009-01-131-3/+3
|
* Fixed crash in function argument widgetThorbjørn Lindeijer2009-01-131-3/+6
| | | | | It didn't make sure its Function* stayed valid. Now it does, by keeping a copy of the list of CppDocuments (the snapshot) around.
* Fixed compilation problem with gcc 3.3Thorbjørn Lindeijer2009-01-081-3/+2
| | | | Reviewed-by: Roberto Raggi
* Replace a. with a[0]. when `a' has type array of T.Roberto Raggi2009-01-051-0/+18
|
* Completion for typedef of pointer to struct.Roberto Raggi2008-12-311-10/+28
|
* Renamed SymbolsForDotAccess to ResolveClass.Roberto Raggi2008-12-301-13/+13
|
* Simple typedef support for T_ARROW member access.Roberto Raggi2008-12-301-12/+11
|
* Improved CppCodeCompletion::completeScope(). Added simple support for typedefs.Roberto Raggi2008-12-301-10/+23
|
* Initial support for typedefs.Roberto Raggi2008-12-291-12/+10
|
* Nicer implementation of CPlusPlus::Macro.Roberto Raggi2008-12-221-2/+2
|
* Merge branch '0.9.1-beta'dt2008-12-171-1/+1
|\
| * chancge Nokia GPL exception version from 1.2 to 1.3hjk2008-12-161-1/+1
| |
* | Added option to disable completion of common prefixThorbjørn Lindeijer2008-12-161-1/+11
| | | | | | | | Some people don't like this.
* | Added configuration options for code completionThorbjørn Lindeijer2008-12-151-19/+40
|/ | | | | It is now possible to choose between case-sensitive or case-insensitive completion. Also, you can now disable the automatic insertion of braces.
* Look at the signed/unsigned specifiers when checking function return types.Roberto Raggi2008-12-121-2/+4
|
* Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's ↵Roberto Raggi2008-12-121-3/+5
| | | | | | current state. This change removes a number of wrong usages of the CppModelManager::documents()/document().
* Fixed code completion when using macros in the expression's code (e.g. in ↵Roberto Raggi2008-12-111-1/+2
| | | | qApp->).
* use QTC_ASSERT instead of Q_ASSERThjk2008-12-091-2/+5
|
* Don't keep around references to old documentsThorbjørn Lindeijer2008-12-081-0/+4
| | | | | | The code completion was keeping around references to old documents after the completion finished. This caused documents to stay in memory when unloading projects, up until the next time you used the completion.
* Use Macros.Roberto Raggi2008-12-081-1/+3
|
* more file cosmeticshjk2008-12-021-0/+1
|
* off-by-one in headershjk2008-12-021-1/+0
|
* end-of-line whitespace correction of the new headershjk2008-12-021-10/+11
|
* Initial importcon2008-12-021-0/+1040