The short-cut to reopen the last closed editor is not set by default
to allow users to set by themselves.
Change-Id: I1f57e34c3b1a30873fd550f5cb008e5640e6a1c5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Do not update the path chooser from the same slot where the path
chooser gets validated or we end up inside a soft assert of the
path chooser's (locked) guard.
Currently no harm as the project chooser is not used actively
and no page is declared as a sub project on this page yet.
Change-Id: I641bb7da55de5919c772b1fa29693f4fa75d4a7c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Before, indentation applies in the middle of the line if an electric
character is typed.
Now it happens only if the character is typed at the line's end or start
and if new line character was typed. It should reduce jumping while typing.
Fixes: QTCREATORBUG-30731
Change-Id: I018cb4a03af5e6450be2cd423cb29bd384048871
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This adds "Debugger" as a dependency for the CMake Project Manager.
The "vendor" field of a configurePreset can look like:
```
"vendor": {
"qt.io/QtCreator/1.0": {
"debugger": "C:/Qt/Tools/mingw1120_64/bin/gdb.exe"
}
}
}
```
or with all the DebugItem details as:
```
"vendor": {
"qt.io/QtCreator/1.0": {
"debugger": {
"DisplayName": "GNU gdb 11.2.0 for MinGW 11.2.0 64-bit",
"Abis": ["x86-windows-msys-pe-64bit"],
"Binary": "C:/Qt/Tools/mingw1120_64/bin/gdb.exe",
"EngineType": 1,
"Version": "11.2.0"
}
}
}
```
Fixes: QTCREATORBUG-30836
Change-Id: Ia89ff29ce5fad713ee8617477ec798bd86f2f811
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Indentation was incorrect when closing parenthesis
was typed in the function and empty function is below.
Now it indents as expected, test case was added.
Fixes: QTCREATORBUG-29911
Change-Id: Ic1ccf8cecb0d5723e6ab1a77177d8161119f6a54
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Preparation for later to make sub projects aware of the projects
they may be added to.
Change-Id: I95630adca6f756377d939b6c3169ada2c5a93236
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The path chooser may be invalid while initializing the page
and shortly display the empty message before becoming valid.
At the moment no harm, as the path chooser is not used actively.
Change-Id: I0c0701c05262e35f550b40dcb03329b6e2308587
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The CMake parameter is CMAKE_PROJECT_INCLUDE_BEFORE used in the "Initial
Configuration".
This commit will add or remove the above parameter in the "Initial
Configuration" list.
Previously, the parameter would have been added only on the first time.
Now with project CMake settings this is needed also for already
configured projects.
Change-Id: I7293032ef3e7e6e0ad0b51c68ef5fbe0cab48919
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Allows to use Span {...} or Span(...) syntax.
* Same for Tab {...} or Tab(...).
* Fixes some documentation issues.
* Adds "withFormAlignment()" and "spacing()"
Change-Id: I05ec0823617e99384e309f34a4861e29045eff94
Reviewed-by: hjk <hjk@qt.io>
Avoid the redirect that is inevitable nowerdays.
Also, change necessitas.kde.org to www.qt.io, since the orgininal page
is offline.
Change-Id: Ib1823f0df97d2df87822fd2bb7552e2f2c7e971e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
It offers an clean interface to disable warnings
Change-Id: Ia19360994d7ca439d067d2370d001d5aeae3999d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This is useful if projects do not to have "Auto Run" CMake or want to
have Junctions enabled.
Change-Id: I4a636e7bf64fe2d29d15d39fe9aa46807684c716
Reviewed-by: hjk <hjk@qt.io>
ExtensionManager wants to execute the wizard, but it lives in another
plugin.
This change exports the former Core::PluginInstallWizard::exec as
Core::executePluginInstallWizard
Change-Id: I3ba068e9c8351355abfedfb9f6d6879de55b0534
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Example version should be <= QDS version to show in the examples.
Fixes: QDS-12853
Change-Id: Iaa4e6244a5451e05672f9001a0d74ef84144b1bc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
to_underlying was added to C++23 to get the underlying integer type for
an enumeration.
Change-Id: Ib7262882a47cf4b060cff428bb10a6a65c089fc5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Never use a cast for a dependency injection. If it can not be null use a
reference.
Task-number: QDS-12883
Change-Id: Ie63a4968f264587a8781f04fa10048e1a7371e44
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Optional and unexpected have a interface designed after pointer usage.
That cannot throw exceptions. They added continuation too. That is
making it harder to make mistakes.
Change-Id: Ie9d41a2e69c7467a7e4ac4999825aede1326e529
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
If the prototype or extension has an unresolved id, it needs to be
checked, if an exported name belonging to the prototype or extension was
updated. In that case the id has to be again resolved.
Task-number: QDS-12761
Change-Id: I7a733662cf37e13e8c2db53dec5a4f3e0a9b6ecf
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This patch fixes the most common issues with path quoting.
Fixes: QTCREATORBUG-28586
Change-Id: Ia5f400d062a2459f49288fcd4bc316ced2b269e6
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Change the default values for enabling qmlls to true. Don't use the
latest qmlls version by default for now because qmlls will crash on qt
5.15 projects.
Also remove the "experimental" from the checkbox text.
Fixes: QTCREATORBUG-30851
Change-Id: I6cac396817eecb0d3bd071668d0588ec6eef1d4f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>