galois-autocompleter / galois-plugin-vscode

Galois Autocompleter Plugin for VS Code, an auto code completer based on OpenAI GPT-2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Galois Autocompleter

Galois Autocompleter VS Code Plugin

Galois Autocompleter is an auto code completer based on OpenAI GPT-2. It is trained on a curated list of approximately 45K Python (~470MB) files gathered from the Github.

Installation

The Plugin is not available yet on VS Code MarketPlace, but you can already easily install it using the .vsix file available on the project.

On the root folder of the project run the following command:

code --install-extension .\galois-autocompleter-plugin-0.0.1.vsix

If you want to generate a new .vsix file check here.

Usage

With the extension installed, you should set the Galois Autocompleter API URL you want to use.

For setting the URL, just go to User Settings on your VSCode and search for Api Url.

Setting Galois Autocompleter URL

When you open a Python file, the extension will be activated automatically.

Once you start coding, you only need to press CTRL + Space for getting the suggestions from Galois!

Contribution

Contributions are welcome. Feel free to create an issue or a pull request.

License

It is licensed under MIT License as found in the LICENSE file.

Disclaimer

This repo has no affiliation or relationship with OpenAI.

About

Galois Autocompleter Plugin for VS Code, an auto code completer based on OpenAI GPT-2.


Languages

Language:TypeScript 100.0%