This extension enables code suggestion and auto-completion using Starcoder model. It relies on Hugging Face Starcoder inference endpoint or on a private inference endpoint.
- Install the extension from release or from source
- Setup your Hugging Face API key in the extension settings or private inference endpoint
- Open a Python file and start coding!
Extension expects Hugging Face TGI API for private endpoints.
- Install the recommended extensions (amodio.tsl-problem-matcher and dbaeumer.vscode-eslint)
- Press
F5
to open a new window with your extension loaded. - Configure the extension to use your Hugging Face API key or private inference endpoint
- Open
src/extension.ts
and start coding, changes will be reflected in the running instance. - Find output from your extension in the debug console.
- Install
vsce
extension - Run
vsce package --baseContentUrl=https://github.com/hugoch/vscode-starcoder --baseImagesUrl=https://github.com/hugoch/vscode-starcoder
to create a.vsix
file
Based on the awesome work of https://github.com/Venthe/vscode-fauxpilot