Roberto Raggi
75bcf2bc66
Speedup global completion.
...
Don't sort the global completion items when we have too many of them, instead
populate the completion box in a way where local symbols are showed before
global symbols.
2010-05-27 19:00:44 +02:00
Roberto Raggi
653ca110fe
Removed DeprecatedLookupContext.
2010-05-26 15:56:12 +02:00
Erik Verbruggen
54e09a1802
Changed C++ code completion to use the new LookupContext.
2010-05-26 15:51:29 +02:00
Roberto Raggi
d702119dca
Revert "Sort the items lazily."
...
This reverts commit 13a721d985 .
2010-05-26 15:14:50 +02:00
Roberto Raggi
30e1d00725
Revert "Clear the completion."
...
This reverts commit bb35b4d081 .
2010-05-26 15:14:40 +02:00
Roberto Raggi
bb35b4d081
Clear the completion.
2010-05-26 14:47:04 +02:00
Roberto Raggi
13a721d985
Sort the items lazily.
2010-05-26 14:44:16 +02:00
Roberto Raggi
db7333e6bb
Sort the completion items as soon as we have them.
2010-05-26 14:25:45 +02:00
Roberto Raggi
9e89f36cd9
There's no need to sort after filtering the completion.
2010-05-26 12:46:41 +02:00
Roberto Raggi
040e2a3049
Ported global completion to use the new LookupContext.
2010-05-26 12:35:40 +02:00
Roberto Raggi
405353ab23
Removed the CppBindings.
2010-05-25 17:15:23 +02:00
Roberto Raggi
3e9faabf9e
Removed obsoleted code.
2010-05-25 17:15:21 +02:00
Roberto Raggi
c5d110d6a3
Don't check for undefined symbols in CppModelManager.
2010-05-25 17:15:21 +02:00
con
7f4cbe2383
Merge remote branch 'origin/2.0'
...
Conflicts:
src/plugins/debugger/moduleshandler.cpp
src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.cpp
src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
2010-05-20 09:28:00 +02:00
Erik Verbruggen
b0cc9fa4e7
Tuned the automatic preprocessor competion.
...
To only run if the pound/hash sign is at the start of the line.
2010-05-19 14:12:22 +02:00
Erik Verbruggen
8f9e2eebe7
Added #preprocessor directive completion.
2010-05-18 17:57:49 +02:00
Erik Verbruggen
d1220f3113
Revert "Added #preprocessor directive completion."
...
This reverts commit e4fb53e8d9 .
Should have gone into master, not into the 2.0 release branch.
2010-05-18 17:37:22 +02:00
Erik Verbruggen
e4fb53e8d9
Added #preprocessor directive completion.
2010-05-18 16:19:32 +02:00
con
2d17da65a9
Icon update.
2010-05-18 14:26:33 +02:00
Roberto Raggi
35c50dcbfc
Use the context created by TypeOfExpression.
2010-05-18 09:24:11 +02:00
con
38f6379f39
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/find/currentdocumentfind.cpp
src/plugins/qt4projectmanager/qt-s60/s60createpackagestep.cpp
2010-05-17 17:40:40 +02:00
Roberto Raggi
18490596f9
Renamed Document::findSymbolAt().
2010-05-17 13:01:56 +02:00
Roberto Raggi
56c5c8266a
Get rid off of typeid() and <typeinfo>.
2010-05-17 12:52:46 +02:00
ck
3e126d6a26
Compile fix.
2010-05-17 10:50:12 +02:00
Leena Miettinen
cf233161fa
Doc - UI - Fix UI text capitalization to follow the KDE Style Guide rules.
...
Reviewed-by: ossi
2010-05-14 15:53:56 +02:00
Roberto Raggi
a600614866
Renamed classOrNamespace() and lookup/findClassOrNamespace().
2010-05-14 13:55:24 +02:00
Roberto Raggi
3c6ad0d845
Instiate overloads of operator->().
2010-05-14 13:55:22 +02:00
Roberto Raggi
f9a05d9ced
Reimplemented resolve base expression.
2010-05-14 13:55:21 +02:00
Roberto Raggi
60f76c96e8
Improved LookupItem and get rid of some deprecated code.
2010-05-14 13:55:21 +02:00
con
1fd12ab63b
Merge remote branch 'origin/2.0'
...
Conflicts:
src/plugins/cpptools/cppcodecompletion.cpp
2010-05-12 17:25:40 +02:00
Thorbjørn Lindeijer
e53b5bc9a1
Fixed completion settings to also apply to the QML code completion
...
By moving the completion settings into the TextEditor plugin, so that
both the CppTools and the QmlJSEditor plugins can access the settings.
The user-interface to edit the settings is still in the CppTools plugin,
since we're in string freeze at the moment. It should be moved to the
TextEditor plugin later.
For now the QML completion only supports the case-sensitivity and
partial completion options, since there is no automatic insertion of
brackets.
Task-number: QTCREATORBUG-1327
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com >
2010-05-11 15:11:12 +02:00
Roberto Raggi
139087ee5c
Introduced Symbol::copy(otherSymbol) and removed some deprecated code.
2010-05-10 12:19:47 +02:00
Roberto Raggi
8caff49468
Simplify Process.
2010-05-10 10:19:37 +02:00
Roberto Raggi
dca2e82160
Removed obsolete code.
2010-05-10 10:15:23 +02:00
Roberto Raggi
7526954e9a
Removed debug info.
2010-05-10 09:57:56 +02:00
Roberto Raggi
3e440ec213
Cache the resolved file names.
2010-05-10 09:57:56 +02:00
Roberto Raggi
aab9c52030
More work on template instantiation.
2010-05-10 09:57:56 +02:00
Roberto Raggi
9e7c13721e
Don't use the mime type db to reorder the source files.
...
It seems that the mime type db got pretty slow, and reordering files
can take minutes.
2010-05-07 11:03:33 +02:00
Roberto Raggi
c0429dbd2a
Search for a valid class.
2010-05-06 10:36:11 +02:00
Thorbjørn Lindeijer
b603e77f37
Fixed compile with g++ 4.4.3
2010-05-05 16:49:28 +02:00
Roberto Raggi
95aae8bb5e
Get rid of ugly using namespace directives.
2010-05-05 16:36:46 +02:00
Roberto Raggi
d9527680a9
Try to use the new LookupContext.
2010-05-05 16:36:46 +02:00
Roberto Raggi
66a9ef0725
Ported completeScope(), completeNamespace() and completeClass() to use the new LookupContext.
2010-05-05 16:36:45 +02:00
Roberto Raggi
32a84df5c0
Deprecated the current LookupContext.
2010-05-05 16:36:44 +02:00
con
84d9b647ee
Version bump.
2010-04-30 11:58:05 +02:00
con
ca14299790
Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
...
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
Thorbjørn Lindeijer
41ab8fbbf1
Moved TextEditDocumentLayout and related classes to their own file
...
The Parentheses, TextBlockUserData and TextEditDocumentLayout classes
and their member function implementations were spread around the
BaseTextEditor class. Moving them to their own file to make the code a
bit better organized.
Reviewed-by: mae
2010-04-26 14:42:11 +02:00
dt
f093d0806b
Cancel code model indexing on project closing and full code model update
...
Task-Nr: QTCREATORBUG-1151
2010-04-26 12:29:50 +02:00
Erik Verbruggen
a8fc1f48d4
Fixed icheck build.
2010-04-23 15:25:22 +02:00
Thorbjørn Lindeijer
7fc5c4173d
Corrected a bunch of capitalizations in label texts
2010-04-15 15:08:51 +02:00