Erik Verbruggen
0555837c7f
C++ Editor: prevent insertion of method definitions in header files.
2010-10-08 13:15:20 +02:00
Christian Kamm
7e3294a8ce
C++ indenter: Don't get confused on 'for (a in b)'.
...
Reviewed-by: Roberto Raggi
Reviewed-by: Erik Verbruggen
(cherry picked from commit c2d890f65e )
2010-10-08 13:09:26 +02:00
hjk
4f05687ed0
version bump: 2.0.91 -> 2.0.92
2010-10-07 15:05:56 +02:00
Christian Kamm
c2d890f65e
C++ indenter: Don't get confused on 'for (a in b)'.
...
Reviewed-by: Roberto Raggi
Reviewed-by: Erik Verbruggen
2010-10-06 15:35:01 +02:00
con
6c38618650
Cpp locator filters were not opening edit mode (if you were elsewhere),
...
and the "current document" filter didn't jump to the column
Reviewed-by: Erik Verbruggen
2010-10-05 17:14:25 +02:00
Leena Miettinen
9dfc5b1414
Doc - using advanced find to search for C++ symbols
...
Fix UI text capitalization, edit text, and add screen shots.
Reviewed-by: con
2010-10-05 10:26:26 +02:00
dt
6b6d9871b8
Merge remote branch 'origin/2.1'
...
Conflicts:
share/qtcreator/templates/mobileapp/app.pro
share/qtcreator/templates/qmlapp/app.pro
src/plugins/cpptools/cpptools.pro
2010-10-04 16:07:46 +02:00
dt
61b4cb7ffa
CMakeProjectManager: Add Ui completion
...
That is get code completion without saving the file or building.
Task-Nr: QTCREATORBUG-1657
2010-10-04 15:09:59 +02:00
dt
41ceaf2821
Ui Code Model Support: Refactor code in preparation for cmake support
2010-10-04 15:09:58 +02:00
Alessandro Portale
493710c2ac
Do not scan "/" for include files
...
The scanning phase was in some cases insanely long.
Reason was that Creator feeds wrong paths to the
CppModelManager, for example "/".
The scanning phase did what it was told to: scan that whole
Harddrive.
This patch makes sure that the scanning is not done for "/"
Done-With: Roberto
2010-10-03 09:28:03 +02:00
Alessandro Portale
b9d3c1f54a
No Samba while including files
...
(The other Samba is meant. The slow one, not the nice one.)
Creator manages to feed the CppModelManager with all kinds of
wrong include paths. That is usually not a big issue as long
as that path is not a simple "/".
CppManager appended a separator to all incoming include paths.
And when the above "/" was passed in, we had (on my machine)
7 seconds of Samba Network lookup, multiple times during a
parse. And the sad thing was that my dear colleagues in the
Intranet did not even have the searched-for header files on
their shared folders.
This patch makes sure that a separator is only appended if
the path does not already end with one.
The real core of the issue (wrong include paths from Creator)
still needs to be fixed.
Done-with: Roberto Raggi
2010-10-03 09:23:48 +02:00
Thorbjørn Lindeijer
9248e2cf46
Fixed compile on case-sensitive file systems
2010-09-30 14:02:35 +02:00
hjk
e6dd3ff5f0
version bump 2.0.91 -> 2.1.81
...
Should have been done earlier. 2.1.80 was burned in the pre-2.1.0->2.0.1
days, and we'd like to have odd subminor for 'working' and even subminor
numbers for pure cherry-picking release branches anyway.
2010-09-30 13:49:10 +02:00
Erik Verbruggen
3ebc328498
C++: added quickfix to insert a method definition.
...
Reviewed-by: Christian Kamm
2010-09-30 12:19:39 +02:00
hjk
4389f02097
version bump 2.0.90 -> 2.0.91
2010-09-27 16:57:34 +02:00
Christian Kamm
8215a1d0c0
C++ indenter: Fix member initializer indent being hardcoded to 4.
...
Task-number: QTCREATORBUG-2456
2010-09-27 10:39:33 +02:00
Leandro Melo
0e0841dac9
Snippets: Show snippets after "corresponding" keywords.
...
In some cases snippets have a description. Due to the sorting this
already places them after keywords. So this is just to be consistent
for all cases.
2010-09-27 10:31:42 +02:00
Leandro Melo
cafcce0c37
Add support for C++ snippets.
2010-09-24 20:22:03 +02:00
Christian Kamm
17e0886c69
C++ indenter: Fix error recovery in function definitions.
...
Task-number: QTCREATORBUG-1517
2010-09-24 15:58:23 +02:00
Christian Kamm
dc58172b78
C++ indenter: Add some small error recovery.
2010-09-24 15:41:13 +02:00
Christian Kamm
d7bf4f515d
C++ indenter: Fix indentation if template and class appear on one line.
...
Task-number: QTCREATORBUG-2427
2010-09-24 15:08:54 +02:00
Christian Kamm
be563abf68
C++ indenter: Simplify debugging by making dump() more verbose.
2010-09-24 15:08:54 +02:00
Erik Verbruggen
5ad1b35a76
Editor: cleanup special cases for snippets.
2010-09-24 13:02:44 +02:00
Erik Verbruggen
f6a99f6163
Editor: don't leave snippet mode when user pasts/completes.
2010-09-24 11:35:53 +02:00
Leena Miettinen
213051555f
UI text - fix capitalization
2010-09-17 11:14:37 +02:00
Friedemann Kleint
bb13b69ec0
Further header cleanup.
...
Introduce some more private classes for the coreplugin,
use header include convention
<QtModule/QClass>, de-qobjectify VariableManager.
2010-09-16 14:59:05 +02:00
Leandro Melo
ce9038f6a2
Avoid function completion tootltip to go out of the screen.
...
Task-number: QTCREATORBUG-2307
Reviewed-by: Thorbjorn Lindeijer
2010-09-15 16:48:50 +02:00
Erik Verbruggen
39a03d2505
C++ Editor: Moved refactoring actions into sub-menu.
2010-09-15 14:35:12 +02:00
Christian Kamm
d68e9e1a4d
C++ indenter: Fix curly brace placement for ANSI style.
...
There was a bug in 5cd6ebfdfd which meant
no reindent of the current line was triggered for the opening curly
brace on a new line.
Task-number: QTCREATORBUG-2331
2010-09-15 11:16:25 +02:00
Christian Kamm
e5cbb56fe7
C++ indenter: Fix for statement indentation and add test.
2010-09-15 11:16:25 +02:00
dt
08ccda5862
EditorManager: Change openEditor/activateEditor to not do mode switching
...
Also introduce a indirection, modes have now types, edit and debug have
the same type, and editors do have a prefered type of modes instead of a
prefered mode.
That fixes the bug that if the prefered qml editing mode was set to
design, then in switching between qml editors would
- in Edit Mode: stay in edit mode
- in Debug Mode: switch to debug mode
2010-09-14 15:23:11 +02:00
Christian Kamm
642b6fb0d3
C++ indenter: Separate indent into logical indent and padding.
2010-09-13 12:38:34 +02:00
Erik Verbruggen
12ac55429c
C++: put dependency table calculation into the future.
...
Task-number: QTCREATORBUG-2300
2010-09-10 14:18:47 +02:00
Christian Kamm
5cd6ebfdfd
C++: Only reindent on electric characters if indent wasn't user-changed.
...
This should make the indenter less strict and annoying for non-standard
indentation styles.
Reviewed-by: Roberto Raggi
2010-09-08 16:22:23 +02:00
Roberto Raggi
29b304e7d0
Skip uninteresting symbols.
2010-09-08 14:23:01 +02:00
Roberto Raggi
33650ac988
Reuse the strings
2010-09-07 14:49:40 +02:00
Roberto Raggi
f7b555b785
Abort expensive cancelled computations.
2010-09-07 11:44:19 +02:00
Roberto Raggi
86799309aa
Keep the locator database in sync with the current snapshot.
...
Thanks to this patch we can move the filtering of C++ symbols
in a background thread.
Done-with: Erik Verbruggen
2010-09-06 16:53:46 +02:00
dt
bde1ebaaea
Remove EditorManager::ensureEditorManagerVisible()
...
The function always switched to Edit Mode, which was the cause for
several bugs. Since openEditor() already does switch to the right mode,
the function is not really needed.
The following actions now respect the prefered mode of the editor:
"f file"-locator
The Open Documents list
Editor history navigation
2010-09-06 13:56:53 +02:00
dt
faba06b553
Search Dialog: Make canceling possible
...
Task-Nr: QTCREATORBUG-2243
2010-09-02 16:13:46 +02:00
Roberto Raggi
a340cd118e
Get rid of the numeric literals.
2010-09-02 12:51:01 +02:00
Roberto Raggi
c12866a467
Merge CPlusPlus::NameId and CPlusPlus::Identifier.
2010-09-02 12:51:01 +02:00
Christian Kamm
1862282bee
C++ indenter: Fix nested array/struct initializers.
2010-08-31 09:45:01 +02:00
hjk
63bc8a0050
replace version 2.1.80 by 2.0.90
2010-08-30 10:38:38 +02:00
Roberto Raggi
05f2fd6669
Renamed Symbol::scope() to Symbol::enclosingScope().
2010-08-26 16:16:22 +02:00
Roberto Raggi
988cc958ab
Renamed Symbol::identity() to Symbol::unqualifiedName().
2010-08-26 12:23:09 +02:00
Christian Kamm
b79fe7e711
C++: Fix indenting of QML_* macros.
...
Task-number: QTCREATORBUG-2111
2010-08-25 14:55:16 +02:00
Roberto Raggi
0540aa362d
Get rid of the old Semantic pass.
2010-08-13 16:55:43 +02:00
Christian Kamm
538f611503
Indenters: Move style setup into the QtStyleCodeFormatter constructors.
...
This makes sure styles are consistent for the editor and the quick fix
engine.
2010-08-12 14:21:35 +02:00
Roberto Raggi
2ebaf3fe5b
Get rid of the #warning directives.
2010-08-11 15:48:40 +02:00