Commit Graph

17 Commits

Author SHA1 Message Date
Marcus Tillmanns
d4f0da4c35 LuaLS: Improve error reporting
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 <david.schulz@qt.io>
2024-08-19 08:13:17 +00:00
Marcus Tillmanns
4ec324af0b LanguageClient: Add option to hide settings
Change-Id: Iefc9398bdc4ffcf498eb66a702994e9e143beb74
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-08-15 12:54:03 +00:00
Lukasz Papierkowski
6b8b151ee6 AI Assistant: Update description
Change-Id: I6bca5ea7be30d21660dd8c85cbda7363674e4a20
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-08-14 07:57:24 +00:00
Lukasz Papierkowski
805c3c315c AI Assistant: aiassistantserver installation based on platform (linux)
Change-Id: Ifbebac39d453c0e162c62d1b0aa9754d6e57f106
Reviewed-by: <mua@spyro-soft.com>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-08-14 07:04:06 +00:00
Lukasz Papierkowski
a9c51df53f AI Assistant: Don't request suggestions when suggestion is locked
Change-Id: I35d171d89d2a0b497d412f5a80ea4aa44a7fc6ea
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-08-08 12:01:50 +00:00
Lukasz Papierkowski
44ff3f5e33 AI Assistant: Increase idle delay for suggestions request
Change-Id: Iefffafdf5aa23410701fe16872145019711db83c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-08-05 09:24:21 +00:00
Lukasz Papierkowski
a8126b2b49 AI Assistant: Initial server installation for Linux
Change-Id: I802345f01d1dcd55d784af11ef147ff7473856c0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-08-02 08:48:56 +00:00
Lukasz Papierkowski
bad36c744d AI Assistant: Settings UI
Change-Id: Icb98ac9869d01295d9e64737766d37e51ba86a76
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-08-02 08:48:36 +00:00
Lukasz Papierkowski
1ed31ef52b AI Assistant: Add automatic suggestions
Change-Id: I5d3297a96a215ed07dfb9d2afa85c9bb081c5cf2
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-07-26 06:40:42 +00:00
Lukasz Papierkowski
2e7358f0a4 AI Assistant: Check for selection before request for suggestions
Change-Id: I12207d9a9fcfea0b868c5d1c2fe5e2f7c6578f37
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-07-25 06:46:39 +00:00
Lukasz Papierkowski
b8dbcf3c9c AI Assistant: Add trigger suggestion on user demand
Change-Id: I3f2432266e6fe52311ffa5ac2f2a76af72161a3d
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <mua@spyro-soft.com>
2024-07-25 06:44:12 +00:00
Marcus Tillmanns
543f8731b4 LuaLS: Change startBehavior to RequiresProject
The Language Server works better when started per project.

Change-Id: I96ec7204292d7e41119fd7d26b988a9a3a17dc37
Reviewed-by: hjk <hjk@qt.io>
2024-07-18 12:06:22 +00:00
Marcus Tillmanns
d2e14ffe86 Lua: Cleanup Hooks
Change-Id: I8e3a1d66ea6125d2cc5ee9c8f8442cca0913fec6
Reviewed-by: <lie@spyro-soft.com>
Reviewed-by: hjk <hjk@qt.io>
2024-07-18 07:19:15 +00:00
Marcus Tillmanns
8a9c2a1e73 AiAssistant: Cleanup
Change-Id: Ic418523a9a514128adf11ec3a97ffb6d8d70c8a7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2024-07-12 06:43:51 +00:00
Lukasz Papierkowski
3aa1111560 QtAIAssistant: Document notifications
Change-Id: I75af8a63268e9a53b4116aa2b41d3a35c95628f1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-07-11 21:37:03 +00:00
Lukasz Papierkowski
fb5bb3ff4f Initial AI Assistant Lua plugin
Change-Id: Ia600a6b7103300f4db875d9a1c63d159c70d21f6
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <mua@spyro-soft.com>
2024-07-08 06:17:15 +00:00
Eike Ziller
f5dde31558 Move the shipped Lua plugins to the resources directory
On macOS, files in Contents/PlugIns/ need to be codesigned individually.
Since Lua plugins are not really binaries, per Apple's documentation
that is to be avoided (and we currently only sign executables there).

Just move Lua plugins generally to the resources directory, like we do
for other scripts like the debugger Python scripts, and load them from
there.

Change-Id: Idabd6b7c0c7c6e842b1752488cb7073f00e7be49
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-06-20 07:40:46 +00:00