forked from qt-creator/qt-creator
Change-Id: I8e3a1d66ea6125d2cc5ee9c8f8442cca0913fec6 Reviewed-by: <lie@spyro-soft.com> Reviewed-by: hjk <hjk@qt.io>
33 lines
1.1 KiB
Lua
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 = {
|
|
opened = function(document) require 'init'.Hooks.onDocumentOpened(document) end,
|
|
closed = function(document) require 'init'.Hooks.onDocumentClosed(document) end,
|
|
contentsChanged = function(document) require 'init'.Hooks.onDocumentContentsChanged(document) end,
|
|
}
|
|
}
|
|
},
|
|
setup = function()
|
|
require 'init'.setup()
|
|
end,
|
|
} --[[@as QtcPlugin]]
|