Skip to content

Commit

Permalink
fix: improve README instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Djiit committed Oct 23, 2024
1 parent 0542065 commit b54f024
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Custom Prompts for Github Copilot Chat

Share custom prompts for Github Copilot Chat.
Share custom prompts for Github Copilot Chat with your team.

## Usage

Use `@customPrompts` to invoke the assistant, then select the desired command.

Add custom prompts in `settings.json` as follows:
### Configuration

Add your custom prompts in `.vscode/settings.json` as follow:

```jsonc
{
Expand All @@ -23,7 +25,11 @@ Add custom prompts in `settings.json` as follows:
}
```

Then, in the chat, enter `@customPrompts /custom /<Your Prompt name>` to invoke the custom command.
Then, in the chat, enter `@customPrompts /load /<command>` to invoke the custom command; e.g. with the example config above: `@customPrompts /load /prefixwithlegacy`

### Available Commands

- `/load`: Use `@customPrompts /load /<command>` to invoke a custom command.

## Credits

Expand Down

0 comments on commit b54f024

Please sign in to comment.