This was not in use since 2fe69b60 in 2015 without anyone complaining.
Change-Id: Iccc4a230a008b8dff5b08faa5cb1ae513c4c0360
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
... that are started by an indented preprocessor directive.
clangd potentially sends regions not starting at line boundaries (in
this case erroneously, but potentially also on purpose), which
TextDocument::setIfdefedOutBlocks() does not expect.
Fixes: QTCREATORBUG-31204
Change-Id: I9126263b9501edbbab1fbc22cc59c5ee1ae814c2
Reviewed-by: David Schulz <david.schulz@qt.io>
Also adds QObject *parent argument for ease of use.
Change-Id: I25d23186d398d35ebc8519b5964da637bf4d028d
Reviewed-by: David Schulz <david.schulz@qt.io>
When the project info changes, we should update the qmlls version
which the current opened document is using.
Fixes: QTCREATORBUG-31208
Change-Id: Ief338efd863ea7472a4e5b68a5b6e7d601fd0f80
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
CMake will fail with an error for the "--target clean install"
combination.
Change-Id: I6de31539a3ead57bbcde5ce9905a22c9aeb3fd12
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This way the user will not have actions that will result in the
following error: "Error: could not load cache".
Change-Id: I4b4f2015e1215d4c12c6aefc03f4ee5b419016c3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
only try to get the cursorForPosition if the mouse cursor is above the
folding region.
Change-Id: I81efdcfc84dc4d1bab696c57de8732e819ea4b72
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
If detailsPageQmlPath is empty it is not one of our wizards.
Task-number: QDS-13210
Change-Id: I9c00e92e176eb8a26acd3cc1ed36d94d913cc7bb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
First step for re-organization to move data handling from widget
to document.
Task-number: QTCREATORBUG-13209
Change-Id: Ida7c5d7d57523b51e7ee271af3b5b7835d9e14f9
Reviewed-by: David Schulz <david.schulz@qt.io>
The TaskAdapter may be destructed at any point in time,
even when the task is still running (i.e. when the task tree
was canceled). Make sure the internal IosToolHandler gets
deleted in this case.
Amends 150441bf88
Change-Id: I1ae4d324390c38d4faf9ec32f83c66295ed18532
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
... and in some cases move it closer to the aspect setup. I kept
the original location in cases where the order possibly matters.
Change-Id: I4774ea355d0d1e3cf890676a84121195fca6d406
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Qt6.4 ends on Windows with an ambiguous overload for the
operator otherwise.
Amends d298244c10.
Change-Id: Ie6813cffb22925b71ee55219ade1c3234f6aed8f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Introduce a (local) WelcomeModeWidget class, and arrange the
code in 'building up' fashion.
Change-Id: I841a38a292fbcb2aaaa1ee33cda90f4c5f817de2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
The intention was to not track brace depth and folding indent inside
ifdefed-out code. However, the information about which blocks are
ifdefed out come from the semantic highlighter, and the logic was in the
syntax highlighter, which runs before the semantic highlighter and thus
does not know which blocks are currently inactive.
Therefore, we move the logic to the place where we receive the
information from the semantic highlighter.
Fixes: QTCREATORBUG-21064
Change-Id: I144f4d636b9b9a993763b45a2b6c6c96195a2f77
Reviewed-by: David Schulz <david.schulz@qt.io>
The warning is explicitly for sub projects.
Kind of amends e30dd3c5ee.
Change-Id: Ic54e5ca8c3505cf113a178b8b4be6da4a4e64ac0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Instead of filtering manualy we can simply defien a feature only
in the full QDS.
Change-Id: Ibeb2faca85cba77aacd1a99d5f405b21fcf3530b
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
... at line start and end.
Fixes: QTCREATORBUG-31020
Change-Id: I3b26089ef72a34dedfe8846119f672e75bf03215
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Don't try to start qmlls if the found path doesn't exist.
When there is no Qt version found in the project (this happens
when you open a qml file without providing its build folder, or
open it without the project info so no linked Qt version is found)
we might end up with incorrect path where no actual qml executable
exist for that path. Check the existence of the binary before assigning
it as the path for qmlls.
Fixes: QTCREATORBUG-31207
Change-Id: I626ace796401e72462eb850d4bd88c1ef51cf53a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Replace QMap with a list of FileToPull struct.
Rename gatherFilesToPull into filesToPull and make it a static
getter.
Simplify for loops.
Change-Id: I74208a60efb8f00676c1b72c807ba9c7bd6ef587
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
If a tab is re-used for a different application, the output file name
must change too.
Fixes: QTCREATORBUG-31099
Change-Id: I3413fca3a99757777db8cb771f0947f655d20ea4
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Enabler need to get set after reading the settings.
Silences soft asserts.
Change-Id: I7e70279537a87462e607e51a40d9fef565b46fa8
Reviewed-by: hjk <hjk@qt.io>
In QML Lite Designer mode we do not show 3D wizards.
For this we introduce a feature ("QDS.3D") and check for it.
Change-Id: Ifca2cea5373181434bee6cb7813ebc64c8df6983
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>