VS Code extension: no way to disable automatic inline code suggestions while keeping manual trigger

Status Open
Reported on v2.1.234
Maintainer reply None cached
Activity 0 comments · opened Aug 18, 2026

The Claude Code VS Code extension registers its own inline-completion provider (visible in extension.js as InlineCompletionsProvider/InlineCompletionItems), which shows ghost-text code suggestions in the editor as you type. There's no claudeCode.* setting in package.json to control this — the only lever is the core editor.inlineSuggest.enabled setting, which is binary and disables the entire inline-suggestion widget when off, including manual invocation via editor.action.inlineSuggest.trigger.

This means it's impossible to get "no automatic suggestions, but let me ask for one on demand via a hotkey" — a mode GitHub Copilot supports via its own extra setting (github.copilot.editor.enableAutoCompletions), layered on top of editor.inlineSuggest.enabled.

Request: expose an equivalent Claude Code setting (e.g. claudeCode.inlineSuggest.autoTrigger: boolean) so automatic triggering can be disabled independently of manual triggering.

Repro:

  1. Set editor.inlineSuggest.enabled: false.
  2. Bind a key to editor.action.inlineSuggest.trigger.
  3. Press it in an editor — nothing happens, because the setting disables the whole widget, not just auto-display.

Environment: Windows 11 (10.0.26200), VS Code 1.131.0, anthropic.claude-code 2.1.234.

View original on GitHub ↗