This repository is used to demonstrate the capabilities of Github Copilot.
This is a react application. To run it, you need to have node.js installed. Then, you can run the following commands:
npm install
npm startHere are some tasks that you can try to complete using Github Copilot:
- Add a button to
App.tsxby adding a comment inline. - Add a button that changes the color of the text by using
CTRL+Ito suggest code. - Add a button that changes the color of the background by using
CTRL+Ito suggest code. - Add a page that displays a list of items, by using
CTRL+Ito suggest code. - Add a page that allows you to add items to the list, by using
CTRL+Ito suggest code. - Document a feature using
@workspace.
- Try using
CTRL+Ito suggest code for a given part of your code. (Combine it withCTRL+Ato select all code and query on that.) - Add comments in your code to give Github Copilot more context for your task.
- Use the Chat Window to ask about your code using
@workspaceor ask about your IDE using@vscode. - By naming your variables and functions well, you can guide Github Copilot to suggest the right code.
- Using
CTRL+Itry doing/fixor/docto fix or document your code.
- Github Copilot is not perfect. It will make mistakes. It is up to you to decide whether the suggestion is correct or not.
- Github Copilot is not a replacement for your own knowledge or creativity. It is a tool that can help you write code faster.
- Copilot was used to create this README.md.
- When using copilot think about the legal implications and privacy implications of using it.
Setup by Yannick Bruintjes for Windesheim HBO-ICT