Copilot: Move description into markdown file

Change-Id: Ib9f9fec4be31bc60739037883fad02d489303818
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-10-09 12:48:03 +02:00
parent 5e8285a5dc
commit 353be9f5c3
3 changed files with 10 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
add_qtc_plugin(Copilot add_qtc_plugin(Copilot
PLUGIN_DEPENDS Core LanguageClient PLUGIN_DEPENDS Core LanguageClient
LONG_DESCRIPTION_MD Description.md
SOURCES SOURCES
authwidget.cpp authwidget.h authwidget.cpp authwidget.h
copilot.qrc copilot.qrc

View File

@@ -16,11 +16,7 @@
"Alternatively, this plugin may be used under the terms of the GNU General Public License version 3 as published by the Free Software Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT included in the packaging of this plugin. Please review the following information to ensure the GNU General Public License requirements will be met: https://www.gnu.org/licenses/gpl-3.0.html." "Alternatively, this plugin may be used under the terms of the GNU General Public License version 3 as published by the Free Software Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT included in the packaging of this plugin. Please review the following information to ensure the GNU General Public License requirements will be met: https://www.gnu.org/licenses/gpl-3.0.html."
], ],
"Description" : "View suggestions from GitHub Copilot in code editor.", "Description" : "View suggestions from GitHub Copilot in code editor.",
"LongDescription" : [ "LongDescription" : ${LONG_DESCRIPTION},
"You also need:",
"- An active GitHub Copilot subscription",
"- GitHub Copilot Neovim plugin installed (requires Node.js)"
],
"Url" : "https://www.qt.io", "Url" : "https://www.qt.io",
"DocumentationUrl" : "https://doc.qt.io/qtcreator/creator-copilot.html", "DocumentationUrl" : "https://doc.qt.io/qtcreator/creator-copilot.html",
${IDE_PLUGIN_DEPENDENCIES} ${IDE_PLUGIN_DEPENDENCIES}

View File

@@ -0,0 +1,8 @@
![Writing a function with Copilot](https://qtccache.qt.io/images/copilot/Copilot.gif)
*Copilot in action*
## You also need:
- An active GitHub Copilot [subscription](https://github.com/features/copilot)
- GitHub Copilot Neovim plugin [installed](https://github.com/github/copilot.vim?tab=readme-ov-file#getting-started) (requires [Node.js](https://nodejs.org/en/download/package-manager))