hjk
2f5f358ff4
Core::Context: compile hot fix for Windows.
2010-06-25 17:38:25 +02:00
hjk
c7e8b51d37
core: use a class derived from QList<int> instead of a QList<int> for Core::Context
...
A mostly mechanical change.
Reviewed-By: con
2010-06-25 12:58:07 +02:00
Roberto Raggi
da817310c2
Get rid of PostfixExpressionAST and store the base expression together with the PostfixAST nodes.
2010-06-23 14:39:14 +02:00
Erik Verbruggen
890e7ea988
Created methods for semantic selection creation.
2010-06-23 10:44:03 +02:00
Erik Verbruggen
fd00ec23ec
Added ObjC keyword highlighting in the semantic pass.
2010-06-18 12:34:09 +02:00
Christian Kamm
e1a0f5abef
C++: Make 'follow symbol' work with forward declared classes.
...
If it encounters a forward declaration, it tries to find the class
declaration globally now.
Task-number: QTCREATORBUG-20
2010-06-16 15:37:39 +02:00
Thorbjørn Lindeijer
173cdff56c
Merge branch '2.0'
...
Conflicts:
src/plugins/cppeditor/cppquickfix.cpp
src/plugins/mercurial/mercurialjobrunner.cpp
src/plugins/subversion/subversionplugin.cpp
2010-06-15 13:22:33 +02:00
Thorbjørn Lindeijer
83dba068ce
Avoid triggering indent for electric characters in comments and strings
...
In comments and strings, electric characters have no syntactical
significance and the unnecessary automatic reindent can be annoying.
Reviewed-by: Erik Verbruggen
2010-06-15 12:25:01 +02:00
Erik Verbruggen
05639e4688
Merge branch 'origin/2.0' (early part)
2010-06-15 11:30:51 +02:00
Thorbjørn Lindeijer
6875a50d27
Don't pass QChar as const & since it's just a unsigned short
...
Reviewed-by: ogoffart
2010-06-14 16:10:35 +02:00
Erik Verbruggen
297b281ced
Added infrastructure to change multiple files at once.
2010-06-14 15:03:10 +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
b0040dc858
Merge remote branch 'origin/2.0'
...
Conflicts:
src/plugins/projectexplorer/taskwindow.cpp
src/shared/proparser/profileevaluator.cpp
2010-06-10 15:00:16 +02:00
Thorbjørn Lindeijer
716b3008ee
Removed no longer used code
...
Reviewed-by: mae
2010-06-08 12:53:53 +02:00
hjk
e5afb64f49
Un-template-ize SharedTools::Indenter which was only used once.
...
Reviewed-by: Roberto Raggi
2010-06-04 13:31:00 +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
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
Roberto Raggi
3d81ae8574
Reduced the usage of CppQuickFixOperation.
2010-06-03 14:45:55 +02:00
Roberto Raggi
a40349c09b
Reimplemented the C++ quick fix operations using TextEditor::QuickFixOperation.
2010-06-03 14:24:12 +02:00
Roberto Raggi
44115f48de
Removed obsolete code.
2010-06-01 14:04:46 +02:00
Roberto Raggi
ef83369006
Check the current under cursor before searching for the enclosing expression.
2010-06-01 12:16:38 +02:00
Roberto Raggi
e9c43b3ec6
Cache the LookupContext.
2010-05-31 12:37:16 +02:00
Roberto Raggi
1c078ec2a3
Ensure we keep the context around for as long as it is needed.
2010-05-31 12:37:15 +02:00
Roberto Raggi
6578099982
Speedup the creation of the extra selections.
2010-05-26 12:35:40 +02:00
Roberto Raggi
405353ab23
Removed the CppBindings.
2010-05-25 17:15:23 +02:00
Roberto Raggi
b68a16f1b5
Highlight user defined types.
2010-05-25 17:15:22 +02:00
Roberto Raggi
2a0f901e16
Use the document in the snapshot when available.
2010-05-25 17:15:22 +02:00
Roberto Raggi
3141edd2ab
Check for undefined symbols.
2010-05-25 17:15:22 +02:00
Roberto Raggi
18490596f9
Renamed Document::findSymbolAt().
2010-05-17 13:01:56 +02:00
Roberto Raggi
3decf8ccc0
Jump to the declaration if the last visible symbol is the current function definition.
2010-05-14 15:33:01 +02:00
Roberto Raggi
a2128885de
Get rid of some obsoleted code.
2010-05-14 13:58:06 +02:00
Roberto Raggi
1302de086a
Jump at the function's definition.
2010-05-14 13:55:23 +02:00
Roberto Raggi
5d13a206e2
Reimplemented switch declaration/definition.
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
c282da7d1e
Introduced Snapshot::findMatchingDefinition().
2010-05-11 14:15:07 +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
Alexey Semenko
538921e8dc
Add "indent blocks twice" option for GNU indenting
...
Reviewed-by: mae
Merge-request: 133
2010-04-08 17:06:23 +02:00
Roberto Raggi
678f7d3e94
Fixed `look at symbol under cursor' when symbol is a Qt method (e.g. a signal).
...
Done with: erikv
2010-03-29 15:31:42 +02:00
Thorbjørn Lindeijer
aa5899ad40
Fixed Delete and Backspace in specific cases when renaming in-place
...
The Delete and Backspace keys are blocked when the cursor is
respectively at the end or beginning of a word that is being renamed
in-place. However, when there is a selection, the removal of this
selection is still supposed to be allowed.
Reviewed-by: Robert Loehning
2010-03-25 19:32:44 +01:00
Friedemann Kleint
bbcacaf59f
Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.
2010-03-18 10:59:06 +01:00
Thorbjørn Lindeijer
a456164631
Simplify finding the best match for switching to definition
...
Also make sure it searches for the best match in all files that define
potential matching definitions.
2010-03-09 17:38:56 +01:00
Alexander Anokhin
a72042ab6a
Fixed switch from declaration to definition
...
Added compatibility scores to functions - candidates to switch to
Merge-request: 121
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2010-03-09 17:38:56 +01:00
Erik Verbruggen
417a1c9f28
Fixed QTCREATORBUG-745.
...
Fixed crash in FindUsages on a dirty file in a large project, which is saved
while the FindUsages is still running.
2010-03-09 17:38:02 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Christian Kamm
ced28c7090
Use the fully qualified name when registering the SemanticInfos.
...
Both for CppEditor::Internal::SemanticInfo and QmlJSEditor::Internal::
SemanticInfo.
2010-02-16 15:29:21 +01:00
Erik Verbruggen
4df9b37542
Fixed local usage highlighting for ObjC message parameters.
2010-02-11 10:02:00 +01:00
Erik Verbruggen
b58cb740e5
Changed ObjC message arguments to have SimpleName for the name part.
2010-02-08 09:34:51 +01:00
Jeffrey Baumes
fa5f9246c2
Adding indented braces option.
...
Merge-request: 1949
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2010-02-05 16:25:22 +01:00
Erik Verbruggen
62705df65f
Moved indentation utility method from CPPEditor into BaseTextEditor.
...
Reviewed-by: Roberto Raggi
2010-02-03 16:50:21 +01:00