Deepseek VS Code Extension
v 1.0.1
This VS Code extension integrates with the Ollama API and utilizes the deepseek-coder-v2
model for AI-powered development assistance. The extension is designed for developers to enhance their workflow with conversational AI within the VS Code environment.
Features
- Interactive Chatbot UI: Provides a chatbot interface similar to ChatGPT for seamless communication with AI.
- Model Selection: You can choose from various models available through the Ollama API (currently using
deepseek-coder-v2
).
- Background Operation: The extension runs in the background using a terminal, allowing for uninterrupted development.
Extension Snapshots:
Installing Ollama:
- Visit the Ollama website to download and install Ollama for your platform.
- After installation, download the model using the Deepseek-Coder-V2 page.
- Select the model parameter according to your hardware (I am using the 16B parameter).
Running the Model:
Once you have installed Ollama and selected your model, run the model in your terminal with the following command:
ollama run deepseek-coder-v2
You shoud be able to chat with your model and you are good to go. Press Cltr + d
to exit. But
make sure Ollama is running on background.
Build Extension Locally
You can build and run this extension locally by using these commands:
for installing:
code --install-extension deepseek-1.0.1.vsix
(considering the name of extension deepseek-1.0.0.vsix while building)
make sure vsce and code are installed.
After successful installaton, you should be able to see Extension in your installed extension section in Extension Marketplace or while pressing Cmd + Shift + P
(mac) or Cltr + Shift + P
(Linux/Win).
Known Issues
- If ollama is not running in the background, the extension may not function correctly. Ensure ollama is actively running before interacting with the chatbot UI.
Release Notes
1.0.1
- Initial release of the deepseek VS Code extension with
deepseek-coder-v2
model integration.
Future Release Features
- Session history
- Ability to copy
- ... suggest more
Following Extension Guidelines
Make sure you’ve read through VS Code Extension Guidelines to follow the best practices when creating your extension.
Enjoy using Deepseek!