...because it might suggest to append a new line.
Change-Id: I8d5701a1d20c9d94ee528383227a6e3b446b4ff2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
...otherwise e.g. MSVC's "/I" option will be converted to "\I".
Change-Id: Ia01519ee5c942d0f3cdd32c4302055d0e58fb865
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
No need to pass in the complete kit. Remove a couple of unnecessary
namespace names.
Change-Id: I2ac895535a80b4a54a423ce62dbdede65b67437b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We do not want to switch to the editor whenever pressing ESCAPE.
Using shortcut override does not work for QQuickWidget.
Therefore we register our own action and disable it.
Change-Id: I399265a5254767d2825edf3fe823dd35177a6ce5
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
As side-effect, fix missing expansion of subitems in some cases.
Task-number: QTCREATORBUG-17110
Change-Id: Ib0c74e968d6d814f9dadbb37b323c8ac68cda310
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Show/hide the error indicator button instead of enabling/disabling it.
* Use "Minimize" instead of "Do Not Show Again" in the info bar button
and use a custom setting to save this. The current info bar API does
not signal addition/removal of global suppression ids which would be
needed to update all editor widgets properly. We are the only client
and it feels wrong to add this API there at the moment.
* Remove not needed code anymore.
Change-Id: I2bb872522b7410434f060cc359a3b62dfed0af4d
Reviewed-by: David Schulz <david.schulz@qt.io>
It makes sense to also add items that are not in a default properties
to the component comobox.
These are items like styling delegates:
Slider {
handle: Item {
}
}
or the items of e.g. a Flipable:
Flipable {
front: Item {
}
Those items are not shown in the navigator (TODO) and it makes
sense to edit them if they were an inline component.
Change-Id: Iab5b6e0238625b5a486901fbf617911d06a34581
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
File imports should be first, because they relate to the
project and there are most likely just a view.
Change-Id: If7bfc648c694bcc3f010d99b125d7349061bb6db
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
All the functionality to support file imports
in the import manager is already there.
We just have to add the file imports as possible imports.
We only include direct sub directories that contain at least one qml file,
but no qmldir file.
Task-number: QTCREATORBUG-12126
Task-number: QTCREATORBUG-11518
Change-Id: I1b606ae11682886f430794f451177980b9c5f9aa
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We have to tell the rewriter that an enum scope called "Font"
does exist.
Change-Id: Ib77a099d94ec84b99e54e3c9151249df53eb53fa
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This property has been added to Qt Quick 2.6.
We do not show the padding section for Qt Quick versions
that do not support padding.
Change-Id: I10123c65849e1708d452320ba3e3b4cb19f5b5bb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Ignore the include path for intrinsics coming from the toolchain. The
clang static analyzer comes with its own intrinsics and does not cope
well with intrinsics from other clang versions.
Move the relevant implementation from LibClangOptionsBuilder into the
base class so that ClangStaticAnalyzer profits from this, too.
Task-number: QTCREATORBUG-17102
Change-Id: Id9a28ddebb889c862939332dce888a80b3bb7e63
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
We do not know if the string was escaped or not in the model.
But this heuristic at least improves the issue
and single characters are escaped.
Task-number: QTCREATORBUG-12616
Change-Id: I3dcc251ce111ab3ee377a17876e2cdb64162d6e8
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
...when passing on arguments to the clang executable.
Change-Id: I78d523289abadee85d8987e54fb962220b1e62a8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
'arguments.first().toBool()' returned FALSE
...is not very expressive.
Change-Id: Ia0c8e8fbe2e84ea4f41668a5179a63e2003bab03
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
If Creator crashes, session information (like open files, bookmarks
etc.) should be restored.
Task-number: QTCREATORBUG-16752
Change-Id: Ife1a2ffb62a3dd9b302e08ad9df9537667173e47
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Building it (and its companion tool) on Windows is such an obstacle that
most developers and also the nightly build has not yet been able to do
that.
Change-Id: Ic0f10fbbbc4e2fe041ff64b30cd8afdff241d7a2
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Do not reset generator information when the generator kit information
is already up to date.
Change-Id: I6bd9b94e8b83af2a58cc11ffcbfa11982374644a
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>