DeepSeek Fill-in-the-Middle inline completions for VS Code.
Setup
Run DeepSeek FIM: Set API Key and paste your DeepSeek API key. The key is stored in VS Code Secret Storage.
Run DeepSeek FIM: Refresh Available Models.
Run DeepSeek FIM: Select Model.
Trigger completion manually with DeepSeek FIM: Trigger Completion or Ctrl+Alt+Space.
To change the shortcut, run DeepSeek FIM: Configure Completion Keybinding and edit the keybinding for deepseekFim.triggerCompletion.
The extension shows a status bar item on the right side of the VS Code status bar:
DeepSeek FIM with a check icon means the API connection check succeeded.
A key icon means the API key is missing.
A spinning sync icon means the extension is checking the API, fetching models, or sending a FIM request.
A blocked icon means the latest FIM request returned no suggestion.
An error icon means the last connection or completion request failed.
Click the status bar item or run DeepSeek FIM: Check API Connection to verify the API key and model endpoint.
Run DeepSeek FIM: Select Model to fetch the current DeepSeek model list and choose from the returned models.
Automatic completion is disabled by default. Enable it with DeepSeek FIM: Toggle Automatic Completion or set deepseekFim.automaticEnabled to true.
Configuration
deepseekFim.apiBaseUrl: FIM completion base URL. Default: https://api.deepseek.com/beta.
deepseekFim.modelsBaseUrl: model-list base URL. Default: https://api.deepseek.com.