New to Telerik UI for .NET MAUIStart a free 30-day trial

Telerik MAUI GitHub Copilot Extension

The Telerik MAUI GitHub Copilot extension is an AI-powered coding assistant that provides specialized knowledge about Telerik UI for .NET MAUI components.

This extension enhances GitHub Copilot with proprietary context about Telerik MAUI controls, helping you:

  • Generate code snippets using Telerik MAUI 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 MAUI GitHub Copilot extension, ensure you have:

Installation

Follow these steps to install and configure the Telerik MAUI Copilot extension:

  1. Go to the Telerik MAUI GitHub App page and click the Install button.
  2. You will see a list that includes your GitHub account and all GitHub organizations that you are part of. Select your GitHub account.
  3. Click the Install & Allow button. This will allow the GitHub Copilot extension to integrate with your GitHub account.
  4. Enter your GitHub password when prompted.
  5. 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.
  6. Upon successful Telerik authentication, you will be redirected to a confirmation page that indicates successful Copilot extension installation.
  7. Restart your Copilot-enabled app (for example, Visual Studio and Visual Studio Code).
  8. Start a new chat session in Copilot.

Usage

To use the Telerik MAUI Copilot extension:

  1. Open the GitHub Copilot chat window in your Copilot-enabled app (for example, Visual Studio or VS Code).
  2. 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 MAUI MCP server.
  3. Start your prompt with @telerikmaui and type your request. Verify that @telerikmaui is recognized and highlighted; otherwise, the extension may not be properly installed.
  4. Look for a status label such as Telerik MAUI working... or Telerik MAUI generating response... in the output to confirm the extension is active.
  5. Grant permission to the Telerik MAUI extension to read your workspace files when prompted.
  6. 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 MAUI extension:

  • "@telerikmaui Generate a DataGrid with 5 columns and 500 records. Enable sorting for the first column and include paging."
  • "@telerikmaui Create a Telerik ComboBox with sample data for customers. Enable multiple selection and preselect the first two customers."
  • "@telerikmaui Show me how to implement a Chart with line series."
  • "@telerikmaui Generate a CollectionView with grouping and filtering capabilities."

Number of Requests

A Telerik Subscription license is recommended in order to use the Telerik MAUI 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 @telerikmaui 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.

See Also