VSCode Integrating DeepSeek
VSCode has a huge extension marketplace where users can install various extensions to enhance the editor's features according to their needs, including language support, code formatters, version control integration, themes, icons, etc.
VS Code can integrate the large models we want very well through extensions; commonly used extensions can be found at:VS Code AI Extensions。
Next, let's learn how to install the recently popular DeepSeek in VS Code through the Roo Code extension.

This article uses Roo Code as an example to demonstrate how to integrate DeepSeek.
In addition to the official API interface, we can alsoCoding Plan/Token Planpackage to directly access mainstream large models such as DeepSeek, Kimi, GLM, Doubao, MiniMax, without needing to purchase each API separately.
Installing the Roo Code extension
Roo Code (formerly Roo Cline) is an AI programming assistant plugin based on VS Code that provides developers with an efficient, intelligent programming experience by integrating multiple AI models and powerful automation features.
Roo Code can seamlessly connect with mainstream APIs such as OpenAI, DeepSeek, Anthropic, Google Gemini, and also supports using local models through Ollama, allowing developers to switch flexibly based on needs and budget.
Roo Code provides multiple preset modes, including Code, Architect, and Ask, and supports user customization. For example, users can create a QA engineer role focused on writing test cases.
Extension search keyword: Roo Code

Plugin link:https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline
GitHub address:https://github.com/RooVetGit/Roo-Code
Setting the API Key
After installing the extension, there will be a small rocket icon in the Activity Bar on the left; open it to see the supported large models, and we can select DeepSeek:

Enter the API Key we applied for:

We can go to the DeepSeek official website's API open platform https://platform.deepseek.com/usage to apply for an API Key:


After successful installation, we can click the plus sign + in the upper-right corner of the extension to open the chat window:

We can also select a small piece of code in a file and let the large model help us analyze or fix it:

Use the @ symbol to provide context to the AI. Type @ to see a list of all files and code symbols in the folder.
