Commit Graph

15 Commits

Author SHA1 Message Date
Christian Stenger
ffffb18f8f Copilot: Fix compile
Change-Id: If9e2c6486e2ac9b80069947063e80336567fbdbe
Reviewed-by: hjk <hjk@qt.io>
(cherry picked from commit eb7d0727e6)
2023-06-23 07:37:37 +00:00
hjk
c9521b294f Copilot: Disable by default also in the settings
... and make the enabling more prominent.

Change-Id: I77e236a1aec2d3ced3280aa8af322a02b8a14dd1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-23 07:12:33 +00:00
hjk
4625d9e87e Copilot: Add a warning in the settings page
... about copilot operation.

Change-Id: I9187f1759f183f4df393e057dc0cdb3307665afc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-06-23 07:12:21 +00:00
hjk
fff258638f Copilot: Keep urls outside translatable strings
Change-Id: Idf81efda39a2dcaa4c20e698f109fda5555537be
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-22 07:18:22 +00:00
Marcus Tillmanns
8aff1dfd85 Copilot: Add Tooltip to links
Change-Id: I24a74272e58658fa607779e73baa7ada56bf085e
Reviewed-by: hjk <hjk@qt.io>
2023-06-20 05:57:03 +00:00
hjk
1193473f46 Copilot: Make some settings help text mouse-selectable
Change-Id: Ibb855bf94aeb5f83220da049b32e26400dacc0e8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-19 15:40:48 +00:00
Marcus Tillmanns
bdb31d4348 Copilot: Allow user to disable Copilot
Fixes: QTCREATORBUG-29179
Change-Id: I274de1f13f773fb61b376643b61056b6f14dabaf
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-05-26 12:55:57 +00:00
hjk
d3ef8aa9ad Copilot: Use functor to apply settings
Change-Id: Ie17273a4fd55c2144b2751166fb69bd523033321
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-05-09 09:08:45 +00:00
David Schulz
afcbe845ce Copilot: Add setting for automatic completion
Can be used to turn off the automatic completion insertion, so a user
only can request suggestions explicitly via the shortcut.

Change-Id: I0c4d9e2f41d30312b0870facdd80dc1d3d03d809
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-04-24 10:07:21 +00:00
hjk
8d1307552b Copilot: Take advantage of IOptionPage::setWidgetCreator()
Less boilerplate for the implementation add user code access to
IOptionPage::{apply,finish} is planned to be removed.

Change-Id: I03bbde071fdf673bee0568baa9ae9fab8d816590
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-04-21 07:21:48 +00:00
David Schulz
e25b89ae39 Copilot: Update authenticator widget while changing settings
Use a separate client for the authenticator widget that can react on
changes in the settings widget. This removes the need to manually apply
the settings between setting up the nodejs and agent.js paths and
signing into github.

Change-Id: I6628a3a8906ccbba208f9dac968262df962f93c0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-03-13 09:12:01 +00:00
Marcus Tillmanns
f19eff5dcb Copilot: Add explanatory text to settings
Change-Id: Ie45d20d77b064e99fbd4cf26f0794a336b02c51a
Reviewed-by: hjk <hjk@qt.io>
2023-03-01 08:10:28 +00:00
Alessandro Portale
a69ff75357 Copilot: Settings/options icon
Exclusive placeholder. While we figure out the legalities around the original Copilot icon.

Change-Id: Iaacebbd8e8a46614659368a4ec7a98b03297e204
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-02-28 15:33:17 +00:00
hjk
e25bf6e59d Copilot: Merge copilotoptionspagewidget.{h,cpp} into copilotoptionspage.cpp
Too small to be worth a translation unit. Also drop unnecessary Q_OBJECT.

Change-Id: Ife1bce6498eae81e2979c2798f8d4f19da16a11d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-02-23 15:45:04 +00:00
Marcus Tillmanns
625f0ef726 Copilot: Add LSP plugin for Copilot
Fixes: QTCREATORBUG-27771
Change-Id: I1249b9a4492427208a70b3e21bf20ac668fc3c50
Reviewed-by: hjk <hjk@qt.io>
2023-02-21 10:26:12 +00:00