By default are marked as Autodetected, which is not the case for CMake
presets.
Fixes: QTCREATORBUG-31255
Change-Id: I5c3da7c6e7c68a8a2e80e415393010121b33efb4
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Empty lines play a crucial role since we now interpret the description
text as Markdown.
Change-Id: Idad3996bde4183145d6ba1c092536c4c52fa6457
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
On some platforms, after pressing Ctrl+Tab to switch files and then
releasing Ctrl, the chooser didn't close because the key event claimed
both that Ctrl was the released key but Ctrl was still pressed. Add a
workaround.
Fixes: QTCREATORBUG-31228
Task-number: QTCREATORBUG-27378
Change-Id: Ifd83e655f0d3dca7e15dfbd822ec1893045b304c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
activateView / setCurrentView will already have send
currentEditorChanged(nullptr) and called updateActions
Change-Id: I72c2d3befe207f3ec4a9718ce52a31a967f698b0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
QFileDialog::saveFileContent opens a non-modal file dialog which can
disappear in the backgtound. Also, on Windows, the dialog is non-native.
Use FileUtils::getSaveFilePath and FileSaver, instead.
Task-number: QTCREATORBUG-31099
Change-Id: I0c84e149183f632e325b2e62ee9b1c7d7726f207
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
After 83111bb3, the path validity result was coming in later and
was not considered for the page completeness check any more.
Fix that by running the check again when the path result is ready.
Change-Id: I2aab6b2130896d63f7e0359ced39e758393a2644
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Avoid making the dialog larger than the screen.
Also remove the special handling for single files.
Fixes: QTCREATORBUG-31161
Change-Id: I5a85834505351493c51ee708c81527147d1a1270
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
The settings can be deleted by the LanguageClientManager
so we just use the settings id instead.
Change-Id: I03f0d4184a12c69f6cd8c74705ab8e1d01b15ec6
Reviewed-by: David Schulz <david.schulz@qt.io>
This doesn't use any of the extra features.
Change-Id: I5533f567568755a04a9cf80dd32cdda475abf738
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
GCC 14.1.1 claims a dangling reference when using make_pair(). Using the
constructor instead makes the warning go away.
Change-Id: I10b4af781c36a6ae4d5a525e875cd369d2a051b6
Reviewed-by: hjk <hjk@qt.io>
Due to the removal of the widget where users could generate settings
using BasedOnStyle and see all available properties, users now need
to have the ability to load their files or generated files.
- Implemented functionality to export internal .clang-format to an
external file
- Added import capability to load ClangFormat style from an external
file
- Added to the ICodeStylePreferencesFactory function
createSelectorWidget for the possibility of reimplementing the
functionality of export and import buttons
Change-Id: Ib5f00a0fb58a983d0e7c6dc55128e93d0205d3ca
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Later to be renamed to GerritSettings, and possibly using aspects.
Change-Id: Idd3d9d3de4f9827478129fe210abfa7b80cff84d
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Use a singleton for the main settings, don't pass it around as
shared pointer.
Change-Id: I5c32679452ad631998a688afc9a6e2b154bf3a5d
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Don't create a permanent thread for just one parsing.
Use TaskTree with async recipe instead.
Change-Id: I8eef0082c5d39a45fb0d8751c632ba02a955faef
Reviewed-by: hjk <hjk@qt.io>
Combine files; remove pointers Q_ASSERT that effectively don't check anything
as they are dereferenced immediately; using namespace Utils, ...
Change-Id: Iefbc4c9e9de3ac6e499bf6caea04503b8c796e3d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
CMake Project Manager is using a small CMake project as a compiler probe
when a CMake preset is being setup. Now this CMake project is saving
more variable as cache variables.
These CMake variables could be only visible inside the CMake preset
probe project via a CMake toolchain file.
CMAKE_SYSROOT was important to be set in the Kit. The CMAKE_C|
XX_COMPILER_TARGET variables are set to override the original triplet
for the code model.
Fixes: QTCREATORBUG-31249
Change-Id: I3c3294b839629c22ce760596b92b2b393eed6a8b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>