Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DeepSeek FIM CompletionNew to Visual Studio Code? Get it now.
DeepSeek FIM Completion

DeepSeek FIM Completion

Ke

|
3 installs
| (0) | Free
DeepSeek Fill-in-the-Middle inline completions for VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DeepSeek FIM Completion

DeepSeek Fill-in-the-Middle inline completions for VS Code.

Setup

  1. Run DeepSeek FIM: Set API Key and paste your DeepSeek API key. The key is stored in VS Code Secret Storage.
  2. Run DeepSeek FIM: Refresh Available Models.
  3. Run DeepSeek FIM: Select Model.
  4. 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.
  • deepseekFim.model: selected model. Default: deepseek-v4-pro.
  • deepseekFim.automaticEnabled: enable automatic inline completion. Default: false.
  • deepseekFim.debounceMs: debounce delay for automatic requests. Default: 500.
  • deepseekFim.includeFileExtensions: allowed suffixes, for example [ ".ts", ".tsx", ".py" ] or [ "*" ].
  • deepseekFim.excludeFileExtensions: excluded suffixes, for example [ ".md", ".txt" ].
  • deepseekFim.maxPrefixChars: prefix context size.
  • deepseekFim.maxSuffixChars: suffix context size.
  • deepseekFim.maxTokens: max completion tokens.
  • deepseekFim.temperature: sampling temperature.

Publishing

Update publisher in package.json to your Visual Studio Marketplace publisher ID, then run:

npm install
npm run package
npx vsce login <publisher-id>
npm run publish

The current DeepSeek FIM API uses POST /completions with prompt and suffix on the beta base URL.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft