Telerik WinForms GitHub Copilot Extension
The Telerik WinForms GitHub Copilot extension is an AI-powered coding assistant that provides specialized knowledge about Telerik UI for WinForms components.
This extension enhances GitHub Copilot with proprietary context about Telerik WinForms controls, helping you:
- Generate code snippets using Telerik WinForms components.
- Get contextual suggestions for component properties and methods.
- Access best practices and implementation patterns.
- Speed up development with AI-powered code completion.
Prerequisites
Before using the Telerik WinForms GitHub Copilot extension, ensure you have:
- An active GitHub Copilot subscription. You can enable or configure GitHub Copilot on the Copilot Settings page in your GitHub account.
- A Telerik user account.
- An active DevCraft or Telerik UI for WinForms license or a Telerik UI for WinForms trial.
- A WinForms application that includes Telerik UI for WinForms.
- The latest version of your Copilot-enabled app (for example, Visual Studio or Visual Studio Code).
Installation
Follow these steps to install and configure the Telerik WinForms Copilot extension:
- Go to the Telerik WinForms GitHub App page and click the Install button.
- You will see a list that includes your GitHub account and all GitHub organizations that you are part of. Select your GitHub account.
- Click the Install & Allow button. This will allow the GitHub Copilot extension to integrate with your GitHub account.
- Enter your GitHub password when prompted.
- You will be redirected to telerik.com. Enter your Telerik account credentials if prompted. This step links the GitHub Copilot extension with your Telerik account.
- Upon successful Telerik authentication, you will be redirected to a confirmation page that indicates successful Copilot extension installation.
- Restart your Copilot-enabled app (for example, Visual Studio and Visual Studio Code).
- Start a new chat session in Copilot.
Usage
To use the Telerik WinForms Copilot extension:
- Open the GitHub Copilot chat window in your Copilot-enabled app (for example, Visual Studio or VS Code).
- Ensure you are in Chat mode and not in Edit or Agent mode. The Edit and Agent modes do not use the Telerik Copilot extension. However, the Agent mode can use the Telerik WinForms MCP server.
- Start your prompt with
@telerikwinforms
and type your request. Verify that@telerikwinforms
is recognized and highlighted; otherwise, the extension may not be properly installed. - Look for a status label such as Telerik WinForms working... or Telerik WinForms generating response... in the output to confirm the extension is active.
- Grant permission to the Telerik WinForms extension to read your workspace files when prompted.
- For unrelated queries, start a new chat session in a new window to avoid context pollution from previous conversations.
Sample Prompts
The following examples demonstrate useful prompts for the Telerik WinForms extension:
- "
@telerikwinforms
Create a RadGridView with 100 records each having Id, Name and Company. Group the data by Company. Sort by name. Add aggregate count function for the company column." - "
@telerikwinforms
Create a RadGridView with 100 employees records with two columns for name and company name. Include paging in the RadGridView with 20 records per page." - "
@telerikwinforms
Create a line RadChartView with 100 records of sample data. Each record should have Value plotted on the vertical axis and Date on the horizontal axis." - "
@telerikwinforms
Show me how to size all columns in GridView to take all the available space."
Visit the Telerik UI for WinForms Prompt Library for more sample prompts.
Number of Requests
A Telerik Subscription license is recommended in order to use the Telerik WinForms AI Coding Assistant without restrictions. Perpetual license holders and trial users can make a limited number of requests per year.
Troubleshooting
If you encounter issues:
- Ensure the
@telerikwinforms
mention is properly highlighted in your prompt. - Verify that you have an active GitHub Copilot subscription.
- Restart your IDE after installation.
- Check that you're in Chat mode, not Edit or Agent mode.