It was forked from tabnine-vscode & modified for making it compatible with open sorurce code models on hf.co/models
Install just like any other vscode extension.
Step 1: Uninstall previous version if you have already installed huggingface-vscode under VSCode Extensions tab.
Because it was a fork of tabnine-vscode, in some previous versions, this extension will appear as Tabnine AI Autocomplete
.
Clik Uninstall
& click Reload
to take in effect.
Step 2: Insall
If the installation was successful, you will see in VSCode Extensions tab:
- Create a new python file
- Try typing
def main():
You can see input to & output from the code generation API:
- Open VSCode
OUTPUT
panel - Choose
Hugging Face Code