Leandro Melo
3e104ce405
Tooltips: Do not show -qtnamespace (if any) in the tips.
...
This is basically for consistency with the docs and with the html
extraction mechanism.
Reviewed-by: Roberto Raggi
2010-10-01 11:58:02 +02:00
Leandro Melo
6d3539962f
Tooltips: Make sure tooltip is escaped (for rich text) when appending html.
2010-09-23 10:32:05 +02:00
Friedemann Kleint
d6057ae600
Header cleanup in coreplugin, part 1
2010-09-16 12:26:28 +02:00
Leandro Melo
ba876ffd48
Improve editor's tooltip. Wrapping hack should no longer be necessary.
...
Also some less significant improvements.
2010-09-01 12:16:38 +02:00
Leandro Melo
67d0ab3fac
Remove option to extend tooltips.
2010-08-31 19:04:52 +02:00
Leandro Melo
ba12a3390e
Refactor how base hover handler manipulates the help items (qt docs interaction).
2010-08-31 19:04:52 +02:00
Leandro Melo
f79187ca97
Create type hierarchy widget; Refactor code from C++ hover into a simple reusable model.
...
Hierarchy information removed from tooltips now.
2010-08-13 16:44:59 +02:00
Roberto Raggi
354b9712e4
Merged ScopedSymbol and Scope.
2010-08-11 15:25:18 +02:00
Leandro Melo
b61dbac6ff
Fix potential endless recursion in C++ hover handler.
...
To catch cases of invalid code like this:
struct A : B {};
struct B : A {};
Reviewed-by: Roberto Raggi
2010-08-05 11:46:44 +02:00
Leandro Melo
ced86184fa
Create a base hover handler.
2010-08-03 15:49:32 +02:00
Leandro Melo
1530273671
Color tip for QML; Start of a bit more extensible tooltip class.
2010-08-02 14:56:55 +02:00
Leandro Melo
28be7bc4b4
C++ tooltip: Make sure to get the correct list of base classes.
2010-07-28 16:37:28 +02:00
Leandro Melo
a1b36cf4a2
C++ tooltip: Resolve variable declarations to their named types.
2010-07-27 09:43:22 +02:00
Leandro Melo
0ccdbbc91d
C++ tooltip: Integration with Qt docs always on (for showing brief descriptions).
...
The old integration option is now used to switch to extended descriptions.
2010-07-22 12:03:51 +02:00
Leandro Melo
5a1983f924
C++ tooltip: Integration with qdocs now only with 4.7 html marks.
2010-07-22 12:03:51 +02:00
Roberto Raggi
b94821b6a9
Get rid of the deprecated method Overview::setShowFullQualifiedNames().
2010-07-21 12:50:24 +02:00
Leandro Melo
2d2ea660b0
C++ tooltip: Arrow diagrams to show inheritance.
2010-07-20 12:59:25 +02:00
Leandro Melo
b25a4a6349
C++ tooltip: Changes in formatting extracted html.
2010-07-20 12:59:25 +02:00
con
5b989680ff
Fixes: Completing switch statements with enums in namespaces or classes.
...
We need to add the fully qualified name to the case statements.
Reviewed-by: Roberto Raggi
2010-07-19 16:46:19 +02:00
Thorbjørn Lindeijer
5652337785
Some adjustments signed/unsigned
2010-07-14 15:01:32 +02:00
Leandro Melo
9e3e5b4b6f
C++ tooltip: Fixing name qualification.
...
To conform with recent changes that affected LookupContext::fullyQualifiedName.
2010-07-14 09:19:59 +02:00
Friedemann Kleint
e8c0d0c162
Yet another include purging spree.
2010-07-13 16:36:37 +02:00
Leandro Melo
3ed60eaa6c
C++ tooltip: Option to integrate Qt docs into tooltips.
2010-07-13 14:46:06 +02:00
Leandro Melo
a4cd93889f
C++ tooltip: Display macro tooltip only if hover is actually over the macro name.
2010-07-13 14:46:05 +02:00
Leandro Melo
123c10a77b
Re-write of cpp hover handler and tooltip integration with qtdocs.
2010-07-12 14:29:02 +02:00
Erik Verbruggen
e3e8b1a5c0
Removed the TokenCache.
2010-07-02 11:18:51 +02:00
con
ede2a7c975
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
share/qtcreator/gdbmacros/dumper.py
src/libs/qmljs/qmljs-lib.pri
src/plugins/debugger/breakhandler.cpp
src/plugins/projectexplorer/projectexplorer.h
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h
2010-06-30 14:25:09 +02:00
Robert Loehning
5f1af52af8
Fixed unwanted line breaks in tool tips.
...
Task-number: QTCREATORBUG-1169
2010-06-25 12:22:28 +02:00
Erik Verbruggen
e42ca194c5
Introduced token caching to prevent repetetive tokenizing.
...
Also removed TokenUnderCursor as it's functionality is in the token cache.
Reviewed-by: ckamm
2010-06-14 10:10:05 +02:00
con
30fae3eab1
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/projectexplorer/taskwindow.h
src/plugins/qmldesigner/designercore/model/modelmerger.cpp
src/plugins/qmljseditor/qmljshoverhandler.h
src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
src/plugins/subversion/subversionplugin.cpp
2010-06-11 16:30:39 +02:00
kh1
1b6ad08795
Move help manager into core.
...
- lessens open file handles
- improves help plugin startup further
Task-number: QTCREATORBUG-337
Reviewed-by: ck
2010-06-11 13:11:37 +02:00
Erik Verbruggen
424b9724d6
Revert "Introduced a token cache for the C++ editor."
...
This reverts commit c2393df023 .
2010-06-04 12:37:26 +02:00
Erik Verbruggen
10ed2c536e
Fixed hidden parameters.
2010-06-04 11:15:38 +02:00
Erik Verbruggen
c2393df023
Introduced a token cache for the C++ editor.
...
This should speed things up a bit, because before, the line was tokenized at
least 3 times.
2010-06-04 09:36:05 +02:00
hjk
5806009d29
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/debugger/debuggermanager.cpp
src/plugins/texteditor/basetexteditor.cpp
2010-06-02 09:57:23 +02:00
Thorbjørn Lindeijer
c15a2bcd22
Fixed context help for Qt includes
...
Was broken in 915a07bdbb , which caused
help links only to be resolved for expressions under the cursor.
Task-number: QTCREATORBUG-159
Reviewed-by: ckamm
2010-06-01 13:33:35 +02:00
Roberto Raggi
517e04ff60
Reenabled the tooltip.
2010-05-14 13:55:23 +02:00
Roberto Raggi
60f76c96e8
Improved LookupItem and get rid of some deprecated code.
2010-05-14 13:55:21 +02:00
Roberto Raggi
d9527680a9
Try to use the new LookupContext.
2010-05-05 16:36:46 +02:00
Roberto Raggi
32a84df5c0
Deprecated the current LookupContext.
2010-05-05 16:36:44 +02:00
Thorbjørn Lindeijer
8999b35fcf
Only escape the code tooltip when it is used as rich text
...
Since the fix in 01a0ec161c , sometimes
& would turn up in the tooltips due to them being escaped but not
interpreted as HTML.
2010-04-21 14:55:08 +02:00
Thorbjørn Lindeijer
01a0ec161c
Fixed unwanted wrapping of code editor tooltips
...
Turns out the <nobr> actually caused wrapping in some cases because the
tag made the QToolTip turn on its wrapping feature due to the text being
rich text. So avoid adding it to plain text tooltips unnecessarily.
Reviewed-by: hunger
Task-number: QTCREATORBUG-1169
2010-04-15 19:16:37 +02:00
Christian Kamm
915a07bdbb
CppEditor: Fix context sensitive help for namespaced libraries.
...
If the generated documentation doesn't contain the namespace name,
we failed to look up the correct help page.
Task-number: QTCREATORBUG-946
Reviewed-by: Erik Verbruggen
2010-04-06 13:32:59 +02:00
con
6bd7a5a17d
Fixes: Tooltips for hover help didn't show up anymore.
...
Reviewed-by: Thorbjørn
2010-03-23 18:24:59 +01:00
con
ab74d23848
Avoid pulling in the svg plugin.
2010-03-05 16:03:31 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
kh1
0521722bd5
Set auto save filter to false, it triggers an unnecessary db write.
2010-03-04 18:48:49 +01:00
Friedemann Kleint
f672bff338
Fix some code scanning issues.
...
foreach()-Loops.
2010-02-01 14:00:07 +01:00
Roberto Raggi
14376c3c32
Initial work on the new CPlusPlus::Snapshot.
...
Encapsulate the details.
2009-12-07 10:54:27 +01:00
Roberto Raggi
7c7ce13ac0
Use const names.
2009-12-01 12:46:23 +01:00