Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chihebnabil/ya-copilot
YA Copilot (Yet Another Copilot) is an open source copilot alternative, it is a VSCode extension that uses the Anthropic API to provide AI assistance.
https://github.com/chihebnabil/ya-copilot
anthropic copilot vscode-extension
Last synced: 22 days ago
JSON representation
YA Copilot (Yet Another Copilot) is an open source copilot alternative, it is a VSCode extension that uses the Anthropic API to provide AI assistance.
- Host: GitHub
- URL: https://github.com/chihebnabil/ya-copilot
- Owner: chihebnabil
- License: mit
- Created: 2024-10-10T12:34:53.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-16T21:08:20.000Z (about 1 month ago)
- Last Synced: 2024-10-19T09:20:58.538Z (29 days ago)
- Topics: anthropic, copilot, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=RemoteSkills.ya-copilot
- Size: 949 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# YA Copilot VSCode Extension
YA Copilot (Yet Another Copilot) is an open source copilot alternative, it is a VSCode extension that uses the Anthropic API to provide AI assistance.
Start by setting your anthropic API key in the extension settings
## Commands ( CTRL + SHIFT + P )
- `ya-copilot.setApiKey`: Set your Anthropic API key
- `ya-copilot.clearMessages`: Clear the chatbox
- `ya-copilot.generateDocumentation`: Generate documentation for the selected code snippet## Extension Settings ( CTRL + COMMA )
This extension contributes the following settings:
- `ya-copilot.apikey`: Your Anthropic API key
- `ya-copilot.model`: Anthropic model to use default to `claude-3-5-sonnet-20240620`
- `ya-copilot.maxTokens`: Max tokens to use default to `512`
- `ya-copilot.edgeCases`: Include the edge cases in the responce default to `false`
- `ya-copilot.deepExplanation`: Include the deep explanation in the responce for the complex parts default to `false`
- `ya-copilot.commonIgnoredFolders`: Patterns to ignore when generating the file tree for the prompt in order to avoid having a really long input prompt, if .gitignore was not available default to `[".git", ".github", "node_modules", "out", "dist", "vendor", ".vscode-test", ".vscode", "build"]`
- `ya-copilot.debug`: Enable debug mode (show the full prompt in the chatbox) default to `false`## Development
Install dependencies by:
```shell
pnpm install
```Then run and debug extension like in [official documentation](https://code.visualstudio.com/api/get-started/your-first-extension)
```shell
pnpm release
```