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

30 lines
999 B
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 = {
documentOpened = function(document) require 'init'.Hooks.onDocumentOpened(document) end,
documentClosed = function(document) require 'init'.Hooks.onDocumentClosed(document) end,
}
},
setup = function()
require 'init'.setup()
end,
} --[[@as QtcPlugin]]