Commit Graph

70 Commits

Author SHA1 Message Date
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
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +01:00
mae
32d0bc1ff2 some tuning of the layer extra selections
Remove overlap. Add extra selection tooltips for the cpp hover handler.
2009-11-30 17:24:06 +01:00
Roberto Raggi
ecf40d2426 Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead. 2009-11-17 14:24:09 +01:00
Christian Kamm
3e953b0323 Check for null scope when hovering.
Fixes a segfault when hovering over QtCleanUpFunction in
qcoreapplication.h.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-10-26 10:35:10 +01:00
Roberto Raggi
7a2d4a7797 Fixed possible crash when building the helpId 2009-10-14 13:35:25 +02:00
Roberto Raggi
926144dcea Prefer Classes to constructors when building the `help id' 2009-10-09 10:27:54 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Thorbjørn Lindeijer
45a15057e4 Fixed name of local variable 2009-07-22 16:10:58 +02:00
Thorbjørn Lindeijer
f65844b7a1 Attempt to resolve a help id even when showing a diagnostic error
Makes context sensitive help work for valid expressions that happen to
be part of a marked diagnostic error. However, for now you still can't
get documentation for expressions that don't resolve.

Also, context sensitive help now also works for includes where possible.
2009-07-22 16:08:58 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
7403fe681c Fixed crash in the cpp hover handler
Didn't check whether the lookup actually returned a valid symbol before
accessing the name.

Reviewed-by: Roberto Raggi
2009-06-12 15:45:35 +02:00
Thorbjørn Lindeijer
f5e7fb9cbb Corrected name of .config editor 2009-06-12 15:45:35 +02:00