Skip to content

Commit

Permalink
Restructured the repo and updated the Cheatsheet (#43)
Browse files Browse the repository at this point in the history
* Restructured the repo and updated the Cheatsheet
* Updating with the latest changes.
* Updated the name of the file from cryto.zip to crypto.zip
  • Loading branch information
sukantsondhi authored Jul 22, 2024
1 parent 2d7c0bf commit 0c18ec9
Show file tree
Hide file tree
Showing 7 changed files with 366 additions and 327 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Demo project for running labs to evaluate Copilot viability
- [Work with Github Codespaces](#work-with-github-codespaces)
- [Work locally](#work-locally)
- [Instructions](#instructions)
- [Quick Links](#quick-links)

## Goal

Expand Down Expand Up @@ -34,7 +35,7 @@ If you still do not have an active Copilot license, a 30 day trial can be reques

### Work with GitHub Codespaces

Environment is already configured to work with Github Codespaces, you can find the configuration files in the .devcontainer folder.
Environment is already configured to work with Github Codespaces, you can find the configuration files in the `.devcontainer` folder.

To start programming just start a new codespace and you are ready to go, don't need to install anything.

Expand Down Expand Up @@ -96,4 +97,18 @@ Run:
- [Develop a memory game](./challenges/memorygame/memorygame.md)
- [Develop a chat based on websockets](./challenges/chatwebsockets/chatwebsockets.md)
- [Behavior Driven Development (BDD) challenge](./challenges/bdd/README.md)
- [Analysis cryptocurrency market](./challenges/cryptoanalisis/crypto.md)
- [Analysis cryptocurrency market](./challenges/cryptoanalisis/crypto.md)

## Quick Links

1. [About GitHub Copilot](https://docs.github.com/en/copilot/about-github-copilot)

2. [Getting started with GitHub Copilot](https://docs.github.com/en/copilot/using-github-copilot/getting-started-with-github-copilot)

3. [About code referencing in GitHub Copilot](https://docs.github.com/en/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions)

4. [Using GitHub Copilot Chat in your IDE](https://docs.github.com/en/copilot/github-copilot-chat/using-github-copilot-chat-in-your-ide)

5. [Enabling GitHub Copilot in the CLI](https://docs.github.com/en/copilot/github-copilot-in-the-cli/enabling-github-copilot-in-the-cli)

6. [GitHub Copilot Badges and Certifications](https://learn.microsoft.com/en-us/training/browse/?terms=github%20copilot)
26 changes: 25 additions & 1 deletion Resources/GHCP Cheatsheet.md → Resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,30 @@ Here are some useful shortcut commands for using GitHub Copilot:

### "@" Commands

- Type `@workspace` in the chat to run queries on/about workspace.

- Type `@github` in the chat to run queries on/about GitHub.

- Type `@terminal` in the chat to handle/run queries on/about terminal output(s)/error(s).

- Type `@vscode` in the chat to handle/run queries on/about VSCode output(s)/error(s).

- Type `@workspace` in the chat to run queries on/about workspace.
- Type `@azure` in the chat to handle/run queries on/about Azure output(s)/error(s) and also manage your azure resources and deployments.

- Type `@docker` in the chat to handle/run queries on/about Docker output(s)/error(s) and also manage your docker resources.

- Type `@copilotext-dev` in the chat to handle/run queries on/about Copilot extension. It also helps in developing your own extension(s).

- Type `@teamsagent` this is an agent that help developer to develop an teams app.

- Type `@readme-api` in the chat to handle/run queries on/about README API output(s)/error(s).

### "#" Commands

- Type `#kb` in the chat after `@github` to run queries on your knowledge base(s).

- Type `#web` in the chat after `@github` to run queries directly using Bing search..

- Type `#editor` in the chat to handle/run queries on/about editor output(s)/error(s).

- Type `#file` in the chat to handle/run queries on/about file output(s)/error(s).
Expand All @@ -61,6 +77,8 @@ Here are some useful shortcut commands for using GitHub Copilot:

- Type `#TerminlSelection` in the chat to handle/run queries on/about selected terminal output(s)/error(s).

- Type `#vscodeApi` in the chat to handle/run queries on/about VSCode API output(s)/error(s).

## In-Line Chat Shortcuts

Press `Ctrl + I` to open inline GitHub Copilot Chat
Expand All @@ -75,6 +93,12 @@ Press `Ctrl + I` to open inline GitHub Copilot Chat

- Type `/test` in the chat to generate unit test.

## Terminal In-Line Assistance

- Highlight the error message in the terminal and press `Ctrl + I` to open inline GitHub Copilot Chat.

![alt text](image-2.png)

## Easter Eggs

GitHub Copilot has a few easter eggs too! For example, try typing `import antigravity` in a Python file and see what happens.
Expand Down
Binary file added Resources/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0c18ec9

Please sign in to comment.