Files
qt-creator/share/qtcreator/lua-plugins/ai_asistant/ai_asistant.lua
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

33 lines
1.1 KiB
Lua

-- Copyright (C) 2024 The Qt Company Ltd.
-- SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
return {
Name = "AiAssistant",
Version = "1.0.0",
CompatVersion = "1.0.0",
Vendor = "The Qt Company",
Category = "Language Client",
Description = "The AI Assistant Server",
Experimental = true,
DisabledByDefault = true,
LongDescription = [[
This plugin provides the AI Assistant Server.
It will try to install it if it is not found.
]],
Dependencies = {
{ Name = "Lua", Version = "14.0.0" },
{ Name = "LuaLanguageClient", Version = "14.0.0" }
},
hooks = {
editors = {
text = {
contentsChanged = function(document, position, charsRemoved, charsAdded)
require 'init'.Hooks.onDocumentContentsChanged(document, position, charsRemoved, charsAdded)
end,
}
}
},
setup = function()
require 'init'.setup()
end,
} --[[@as QtcPlugin]]