| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Differentiate between normal lsp clients that can be used for tasks like
completions/outline/highlight and those that just uses the protocol to
have a basic document update communication and uses their own messages
for specialised tasks like the copilot, coco or ai assistant server. The
user should not be able to manually switch to any of those servers as
the active server for the current document, so filter those servers in
the editor tool bar.
Task-number: QTCREATORBUG-32909
Change-Id: Idd5e1c10e613ce986a56defad02a3787aeae85b2
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
|
|
|
| |
Language server behavior does not depend only on the project files but
also on Kit configuration and in some cases the actual build.
Change-Id: I1c26de62da9e5ee2f2f9e655f23cd2d30cfedd85
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
| |
Change-Id: I65d682054d4774b8937ecce9728a9d2f2e75cc2a
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
|
|
|
| |
Keep it in Axivion dto, which is generated.
Change-Id: I83a12de6234ac7b0218b369875bdc72d25dbadfb
Reviewed-by: Eike Ziller <[email protected]>
Reviewed-by: Jarek Kobus <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
We need some hint in the plugins metadata that tells us whether the
plugin is a script or a c++ plugin. Otherwise we cannot tell by the
metadata alone how to resolve dependencies. This is necessary for the
ExtensionBrowser which does not have any other way to detect the
type of an extension.
Change-Id: I61eb8f91fb079cf59cc8470f95a13c9c6fa75634
Reviewed-by: Eike Ziller <[email protected]>
|
|
|
|
|
|
|
| |
By making the containers const.
Change-Id: I3095d7c817bd8a9cc40184aba144d617c6071f97
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
A bug in gcc (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438)
creates a lot of warnings when using get_or with a simple "" string.
To workaround, we create a string_view literal in place to workaround
it.
Change-Id: I3167c8f9c525a9b265a2c69a7ddadad0fe13ea71
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
| |
Change-Id: If59fb64acbfc56a0427b21597945ceace22897aa
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
| |
Change-Id: I45a93a5971869b551330f36bd20ea9092854a83a
Reviewed-by: David Schulz <[email protected]>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
cmake/QtCreatorIDEBranding.cmake
qbs/modules/qtc/qtc.qbs
src/plugins/languageclient/languageclientmanager.cpp
src/plugins/languageclient/languageclientmanager.h
Change-Id: I5d705abb1dd6b67e7c51c4f9151bf4fe3213004f
|
| |
| |
| |
| |
| | |
Change-Id: I87cf48eee3c8df4481a672c31e6adf58ed1ec155
Reviewed-by: David Schulz <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
LanguageClientManager::applySettings() does not know when to apply
custom settings so we make sure that we explicitly apply our own.
Change-Id: I316e94d0fc50eafe59ca83142b367dd07fa5b353
Reviewed-by: David Schulz <[email protected]>
|
|\|
| |
| |
| | |
Change-Id: I13e6beb4741be5aa79b2798aa6b674e45ad109f2
|
| |
| |
| |
| |
| | |
Change-Id: I8410e29fc66202dc1aca17f223bdb6ffb7e73ec8
Reviewed-by: Marcus Tillmanns <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This introduces a field "DisplayName" to PluginSpec and the plugin spec
json files. If present in the spec, PluginSpec::displayName returns it,
or otherways falls back to more established fields.
Fixes: QTCREATORBUG-31761
Change-Id: I4f4c4f3e33b17dfb2ec63644b1f50b3b9c6c024a
Reviewed-by: Leena Miettinen <[email protected]>
Reviewed-by: Eike Ziller <[email protected]>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/plugins/android/androiddeployqtstep.cpp
src/plugins/debugger/debuggerdialogs.cpp
src/plugins/projectexplorer/kitaspect.cpp
Change-Id: Iebc1d7a38db4c228282c04c63d7f11ee76072a06
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Clients on the list could be already in shutdown phase,
so filter them out.
Change-Id: I30768f63a89418279af02076550f408749ad04a9
Reviewed-by: Marcus Tillmanns <[email protected]>
(cherry picked from commit ee0779ac80f02bebb50e27ee660c5b02a426a30d)
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Just calling optionsChanged is not enough,
we also need to instruct the LanguageClientManager
to apply the new settings.
Change-Id: I84bc930702b85463d753778ba35348c9a4c95bad
Reviewed-by: David Schulz <[email protected]>
|
| |
| |
| |
| |
| | |
Change-Id: I57b482c4ed9e7694ed1b8faa2de9d8f456a9b864
Reviewed-by: hjk <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
... from 'Store toMap() const' to 'voud toMap(Store &map)' to
make it more similar to AspectContainers.
Change-Id: Ia8a10d97513b54321c0bac5caa76b7a589394a78
Reviewed-by: David Schulz <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Clients on the list could be already in shutdown phase,
so filter them out.
Change-Id: I30768f63a89418279af02076550f408749ad04a9
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|\|
| |
| |
| | |
Change-Id: Icd59b4850b51b6cef1753e0ba638ac25d07e6e99
|
| |
| |
| |
| |
| | |
Change-Id: Idd2ca77b050aa22c3c34d1fef45fac8e960c4401
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
It
- checks existence of the value again, which we already do before
- it throws, which static analyzers don't like because we don't catch
or declare
- opt.value().something is doubly wrong because operator-> does it
better
Use operator* and operator-> instead.
Change-Id: Icfddebcadb4bba35a59876cee705393d03509129
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
|
| |
Extisting plugins/wizards might depend on the original name.
Change-Id: Ic0626e05a9fd9f045d1a105a144ebe2a906d2eb0
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Allows using async code to create the options of a
language client. This is useful for instance if you need to get
values from a SecrectAspect
Change-Id: Ica23b7f0df00bff3af7520524905a59ceb5b8e8c
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
The year is not needed and requires us to update it manually each year.
So just remove it. Centralize it in the branding file to avoid changes
to be done at lots of places (About dialog, plugin specs, app info plist
& rc, docs, ...) in the future.
Task-number: QTCREATORBUG-30432
Change-Id: Ia421924c19a1331b121e765bcea137920025598d
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
|
|
|
| |
Also adds exception if LuaCompatibleVersion is higher than
spec version (during development)
Change-Id: I39ab3b19e438c4c1691a2db18d884b9dbd417b19
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
| |
Change-Id: I4f47f95e1f4ff4af73c2b81320087b4592007993
Reviewed-by: Alessandro Portale <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Changes LSP.Client:documentVersion() and LSP.Client:hostPathToServerUri()
to return ok and error message in case of errors.
Also fixes the binding to take a self parameter so it fits to the function
documentation.
Change-Id: I605b7bacba2822c3efd5291d1f7bacf1ecb863d5
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
| |
Change-Id: Iefc9398bdc4ffcf498eb66a702994e9e143beb74
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
|
|
|
|
| |
The new field "LuaCompatibleVersion" is required when a lua plugin depends on a C++ plugin. A dependency will be fulfilled if:
"LuaCompatibleVersion <= dependency.version <= Version"
Change-Id: I61466055a56e20abbb1fa5f73a5735a0e3a4c471
Reviewed-by: Eike Ziller <[email protected]>
|
|
|
|
|
|
|
| |
It was mostly used as namespace.
Change-Id: Ice6cdd1581d7dd70b09f6d82891b874a206a1ca0
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
|
|
| |
Allows a LSP plugin to dynamically configure the initializationOptions
Change-Id: Idc5d6526a732512b2e4e7394fb1c8b5749cde25d
Reviewed-by: Christian Stenger <[email protected]>
|
|
|
|
|
|
| |
Change-Id: If87adc59e997626ad4ca77a75802f7c068cf26e5
Reviewed-by: Marcus Tillmanns <[email protected]>
Reviewed-by: <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original "sendMessage" function sends a message to each client.
To send a message to a specific Language client the sendMessageForDocument
and sendMessageForDocumentWithId functions are added.
As a fix the way that settings are copied into the Lua wrapper and the id used
to find clients was changed.
Change-Id: I577ee1f9da983c80e4ef00b8e86ccb2bfe369314
Reviewed-by: hjk <[email protected]>
|
|
|
|
|
|
| |
Change-Id: Icad01906aa9f9405004ce342399fcb42354e77df
Reviewed-by: Marcus Tillmanns <[email protected]>
Reviewed-by: <[email protected]>
|
|
|
|
|
|
|
|
| |
The settings can be deleted by the LanguageClientManager
so we just use the settings id instead.
Change-Id: I03f0d4184a12c69f6cd8c74705ab8e1d01b15ec6
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
It's conceptionally const, and would be useful to use as such, but
the current implementations often modifie mutable state.
To ease the transition pain, rename the previous non-const version to
addToLayoutImpl() and call it after const_cast'ing.
Change-Id: Ic8ca38e40f5df69c3d11121f96ea37648cf4feb7
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Where they were missing. The text is shown as a paragraph in the
extension manager.
Change-Id: I6e15c89fe4023b222e9c476f4312e13fcb0905c0
Reviewed-by: Leena Miettinen <[email protected]>
Reviewed-by: Alessandro Portale <[email protected]>
|
|
|
|
|
| |
Change-Id: I2f70d0b1586bc2bfbb27ea1513313e5c6ca32754
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
| |
Change-Id: I58b3817e83c598b62e0ae5e61c21043d2c3290a7
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the client lives longer than the lua context, its destruction would
also cleanup the custom handlers which had captured the lua function.
Calling anything as well as the destructor of a sol object after the lua
context is gone results in a crash, so make sure that we don't keep it
around any longer.
A better solution in the long term would be to allow custom handlers to
be unregistered in the Language Client.
Change-Id: I59ac39d9279dc5faf24d3fd3b29e8c7c00e2b48e
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This puts the implementation introduced in acf1ecb47fdf into use, after
significant simplifications in the class hierarchy. CRTP is not used
anymore, and the new tag based dispatch is also used for Layout::addItem,
effectively reducing the number of different code paths.
The Lua based settings access is disabled for now.
Change-Id: Idb6d1a25675378757c5267bdb630bcd4c1f52d34
Reviewed-by: Alessandro Portale <[email protected]>
|
|
|
|
|
|
|
| |
Allows plugins to install packages they might need.
Change-Id: I4948dd0a6568e093fc35e4486d2e2a084090e103
Reviewed-by: David Schulz <[email protected]>
|
|
|
|
|
|
| |
Change-Id: I422baeffff96cf56a110cbf74716352c9104c5ef
Reviewed-by: David Schulz <[email protected]>
Reviewed-by: <[email protected]>
|
|
|
|
|
| |
Change-Id: I9fa1d85041e97b5b69ae139e14510027c6097344
Reviewed-by: Marcus Tillmanns <[email protected]>
|
|
|
|
|
| |
Change-Id: Iebd27e0a155529bf0076c7087c7b2b55f9e5ec7b
Reviewed-by: Christian Kandeler <[email protected]>
|
|
Change-Id: I47a1f73a1e1191e116c7cf3b06db5af9e7548fc0
Reviewed-by: Marcus Tillmanns <[email protected]>
|