VSCode extension for helping developers writing code with AI code assistant. OpenVINO Code is working with Large Language Model for Code (Code LLM) deployed on local or remote server.
VSCode extension can be installed from built *.vsix
file:
- Open
Extensions
side bar in VSCode. - Click on the menu icon (three dots menu icon aka "meatballs" icon) in the top right corner of Extensions side panel.
- Select "Instal from VSIX..." option and select extension file.
For instructions on how to build extension vsix
file please refer to the Build Extension section.
To work with extension you should configure endpoint to server with Code LLM where requests will be sent:
- Open extension settings.
- Fill
Server URL
parameter with server endpoint URL.
For instructions on how to start server locally please refer to the server README.md.
Also in extension settings you can configure special tokens.
TDB
- Create a new python file
- Try typing
def main():
- Press shortcut buttons (TBD) for code completion
You can see input to and output from the code generation API:
- Open VSCode
OUTPUT
panel - Select extension output source from the dropdown menu
Prerequisite: You should have
Node.js
installed (v16 and above).
To install dependencies run the following command from the project root directory:
npm install
Open Run and Debug
side bar in VSCode and click Launch Extension
(or press F5
).
To build extension and generate *.vsix
file for further installation in VSCode, run the following command:
npm run vsce:package
To perform linting with ESLint
, execute the following command:
npm run lint
TBD