Roberto Raggi
c7b023c0e1
Renamed SymbolsForDotAccess to ResolveClass.
2008-12-30 12:03:49 +01:00
Roberto Raggi
12ee869eda
Simple typedef support for T_ARROW member access.
2008-12-30 11:45:41 +01:00
Roberto Raggi
f6f0c81021
Improved CppCodeCompletion::completeScope(). Added simple support for typedefs.
2008-12-30 11:35:30 +01:00
Roberto Raggi
a985b59d40
Initial support for typedefs.
2008-12-29 11:53:40 +01:00
Roberto Raggi
e325aa38d9
Nicer implementation of CPlusPlus::Macro.
2008-12-22 13:55:42 +01:00
Roberto Raggi
753ddb7ce0
Some cleanup in the C++ preprocessor.
...
Introduced pp-scanner.cpp, renamed `pp' to `Preprocessor' and removed useless #includes.
2008-12-22 11:40:53 +01:00
goro
a51b70b51c
Bump version from 0.9.1 to 0.9.2
2008-12-18 12:51:08 +01:00
Thorbjørn Lindeijer
12e4f2b2ee
Some code simplification in CompletionSettingsPage
2008-12-18 09:03:05 +01:00
dt
3ba192af7e
Merge branch '0.9.1-beta'
2008-12-17 14:21:03 +01:00
dt
791217bad4
Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta
2008-12-16 17:25:17 +01:00
dt
29dfc72f1a
Fixes: Nokia Technology Preview License -> Nokia Beta Version License
...
Details: in all pluginspecs.
2008-12-16 17:24:14 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +01:00
Thorbjørn Lindeijer
9cf4074504
Added option to disable completion of common prefix
...
Some people don't like this.
2008-12-16 16:58:29 +01:00
Thorbjørn Lindeijer
687e353b6f
Moved dependency on QtHelp
...
Necessary because the CppHoverHandler uses QtHelp and moved from
CppTools to CppEditor.
2008-12-16 15:13:52 +01:00
Thorbjørn Lindeijer
1efe71992b
Moved the CppHoverHandler to the CppEditor plugin
...
It used to be in CppTools, but since the hover handler only makes sense
in the context of the C++ editor, this is a better place.
2008-12-16 12:27:13 +01:00
Thorbjørn Lindeijer
011049dd40
Fixed saving of code completion settings
...
Save settings instead of crashing. Sorry about that!
2008-12-15 12:29:42 +01:00
Thorbjørn Lindeijer
78f1fca9aa
Added configuration options for code completion
...
It is now possible to choose between case-sensitive or case-insensitive
completion. Also, you can now disable the automatic insertion of braces.
2008-12-15 11:42:43 +01:00
Thorbjørn Lindeijer
5c5167717f
Renamed cpptools.cpp to cpptoolsplugin.cpp
...
To match the class name, CppToolsPlugin.
2008-12-15 11:42:43 +01:00
mae
5b8cff20fe
Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta
2008-12-12 12:36:50 +01:00
mae
364a869e38
check for !doc
2008-12-12 12:08:02 +01:00
Roberto Raggi
0145a3dea9
Look at the signed/unsigned specifiers when checking function return types.
2008-12-12 10:40:25 +01:00
Roberto Raggi
aed481dec8
Don't hardode -O3 optimization level for cpptools.
2008-12-12 10:09:47 +01:00
Roberto Raggi
bab60d14b3
Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's current state.
...
This change removes a number of wrong usages of the CppModelManager::documents()/document().
2008-12-12 10:07:58 +01:00
Roberto Raggi
4679f38a87
Fixed code completion when using macros in the expression's code (e.g. in qApp->).
2008-12-11 11:28:29 +01:00
Roberto Raggi
d454607264
Implemented tooltip and lookat for #include directives.
2008-12-10 17:21:28 +01:00
Thorbjørn Lindeijer
037a9bb579
Set the help id for macros to their name
...
Enables F1 for opening their help pages. Seems to work nicely.
2008-12-10 12:09:17 +01:00
Thorbjørn Lindeijer
a6c6b2c4ae
Fixed macro tooltip overriding type information
...
The macro tooltip is supposed to be a fallback, since otherwise you
won't be able to see type information for macro parameters.
Reviewed-by: Roberto Raggi
2008-12-10 12:09:17 +01:00
Thorbjørn Lindeijer
1e8b9167ef
Sort C++ QuickOpen with less than 1000 results
...
In this case it's fast enough and sorting the list makes it easier to
find what you're looking for.
Though because of the substring matching, what you're looking for might
still be way down the list.
Reviewed-by: con
2008-12-09 17:19:35 +01:00
Thorbjørn Lindeijer
5f544b4daf
Added the CppFunctionsFilter to QuickOpen
...
In the GUI this is currently called "Methods" with the shortcut 'm'.
2008-12-09 17:19:35 +01:00
Thorbjørn Lindeijer
0e27bc5aa3
Exclude anonymous symbols from the QuickOpen
...
They're not overly useful to have in there, since they don't have a name
you could type to jump to them.
Reviewed-by: Roberto Raggi
2008-12-09 16:32:51 +01:00
Roberto Raggi
9653f4b7e9
Fixed macro locations.
2008-12-09 16:20:21 +01:00
Roberto Raggi
20e36cc364
tooltip for macro definitions.
2008-12-09 15:24:26 +01:00
hjk
4a552ead9f
use QTC_ASSERT instead of Q_ASSERT
2008-12-09 15:25:01 +01:00
Roberto Raggi
02488eebe4
More cleanup in the CppPreprocessor.
2008-12-08 14:49:53 +01:00
Thorbjørn Lindeijer
bf7486c011
Don't keep around references to old documents
...
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.
2008-12-08 13:05:44 +01:00
Thorbjørn Lindeijer
c14896b7d2
Slight optimization in Session::projectForFile
...
Avoid creating a copy of the list of projects.
2008-12-08 13:05:44 +01:00
Roberto Raggi
310d50fd07
Use Macros.
2008-12-08 12:59:57 +01:00
Roberto Raggi
f6fbb274ae
Moved the preprocessor.
2008-12-08 12:24:40 +01:00
Roberto Raggi
520a5c9e65
Put the preprocessor the CPlusPlus namespace
2008-12-08 12:18:04 +01:00
Roberto Raggi
1f8ce02d06
Some cleanup in CppPreprocessor.
2008-12-08 11:42:09 +01:00
Roberto Raggi
d74ddb76b6
Protected m_dirty and m_projects with a mutex.
2008-12-08 10:45:27 +01:00
hjk
d8b343afa1
silence warning
2008-12-05 18:27:45 +01:00
hjk
84261f00ea
Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta
2008-12-05 16:40:19 +01:00
hjk
0e8d02aab4
populate texteditor margin context menu
2008-12-05 16:39:33 +01:00
Thorbjørn Lindeijer
ecfb77d469
Separate scope in classes quickopen filter
...
The scope of the classes is now separated and displayed in the second
column, and not included in the search.
2008-12-05 13:23:04 +01:00
mae
6d37029be8
support different selection kinds in basetexteditor.
...
enum ExtraSelectionKind {
CurrentLineSelection,
ParenthesesMatchingSelection,
CodeWarningsSelection,
CodeSemanticsSelection,
OtherSelection,
NExtraSelectionKinds
};
void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
QList<QTextEdit::ExtraSelection> extraSelections(ExtraSelectionKind kind) const;
This is mainly for the benefit of the cppmodelmanager.
2008-12-05 13:19:57 +01:00
Thorbjørn Lindeijer
4e76b54dec
Use QFlags for indicating symbols to search for
2008-12-05 09:02:08 +01:00
Thorbjørn Lindeijer
cecd5023dd
First incarnation of classes quickopen filter
...
Invokable with 'c', currently shows all classes it can find.
2008-12-04 18:22:58 +01:00
Roberto Raggi
a418183596
Some cleanup in the CppPreprocessor.
2008-12-04 17:08:11 +01:00
Roberto Raggi
c4fa71ba36
Removed some warnings.
2008-12-04 17:08:11 +01:00