Skip to content

Development Quickstart

bash edited this page Nov 6, 2024 · 1 revision

This page shows how to start developing the copilot-checkpoints plugin based on Twinny.

Prerequisites

Steps

These steps are done on Windows 11. Let the team know if you need help doing this on a different operating system.

  1. Go to the repository, click on the green Code button, then hit the copy icon.

image

  1. Choose a place to store this project, then navigate into it.

image

  1. Right-click on a space in the projects folder, hit Show more options, then Git Bash Here. In the window that appears, paste git clone https://github.com/gutbash/copilot-checkpoints. This will clone the repository to your projects folder.

image

  1. Navigate into the copilot-checkpoints folder. Right-click on a space in the projects folder, hit Show more options, then Open with Code. This will open the project in VSCode.

image

  1. Click Terminal in the top left, then New Terminal. You can also press Ctrl+Shift+`

image

  1. Run npm install. This will install the necessary packages to run the plugin.

image

  1. Press F5 to start the development server (the F5 key is usually located on the top row of the keyboard), then hit Debug Anyway from the window that pops up. This will open a new VSCode window.

image

  1. The original window is your (1) development environment where you can develop the plugin. The new window that opens is your (2) test environment where you can test the plugin.

image

  1. Press Ctrl+Shift+P in your (1) development environment, then search for Developer: Toggle Developer Tools. This will open a new window.

image

  1. This new window allows you to see development messages that occur in the (2) test environment.

image

Congratulations! You can start developing the plugin.

Clone this wiki locally