Streamlining Software Development Performance: Gaining Control Over Copilot Inline Suggestions in Codespaces

Developer turning off an inline suggestion toggle in a cloud development environment.
Developer turning off an inline suggestion toggle in a cloud development environment.

The Quest for Persistent Copilot Control in Codespaces

GitHub Copilot is a powerful AI assistant, but developers often seek fine-grained control over its features to optimize their software development software experience. A recent discussion on the GitHub Community forum highlighted a common friction point: persistently disabling Copilot's inline suggestions across all Codespaces, even when users wish to keep Copilot Chat active. This challenge impacts individual developer workflow and, by extension, overall software development performance metrics.

The Challenge: Inline Suggestions Reappearing

Sean-Hammond initiated the discussion, noting that Copilot's inline suggestions automatically re-enable in new Codespaces or after starting a new chat, despite attempts to disable them. The goal was clear: a universal, account-level setting to keep inline suggestions off until manually re-enabled, without affecting basic IntelliSense-style autocompletion.

Initial Solutions and Their Limitations

Community member maheerCodes provided an initial promising solution: the account-level setting found at github.com/settings/copilot. Specifically, toggling off "Show inline suggestions" (which maps to the github.copilot.inlineSuggest.enable setting) was expected to provide a universal fix. This setting is distinct from the older github.copilot.editor.enableAutoCompletions.

However, daniyal-debug and others quickly confirmed that even this account-level setting, along with dotfiles and VS Code's settings.json, failed to provide consistent persistence. Inline suggestions continued to reappear, leading to frustration and a call for clarification from the GitHub team.

Unraveling the Persistence Puzzle: Settings Precedence

The core of the problem appears to lie in the complex interplay of settings precedence within Codespaces. As maheerCodes and GARJE-01 eloquently detailed, multiple layers can influence the final configuration:

  • User Settings: Your personal GitHub Copilot settings.
  • VS Code Account Sync: Settings synced via your VS Code account.
  • Dotfiles Repositories: Custom configurations applied when a Codespace is created.
  • Repository-level .vscode/settings.json: Settings defined within the project itself.
  • Devcontainer Configuration: Settings specified in the Codespace's development container.
  • Organization Policies: Copilot settings enforced at the organizational level.

The community observed that these layers can override each other, leading to the "ghosting out" of settings or unexpected re-enabling of inline suggestions. This inconsistency makes effective software development tracking of preferences difficult.

Recommended Diagnostic Step

To pinpoint the source of the override, GARJE-01 suggested a crucial diagnostic step:

1. Open Settings in your Codespace.
2. Search for `inlineSuggest`.
3. Use "Inspect Setting" (or inspect the setting source).
4. Check where the active value is coming from (User, Remote machine, Workspace, Repository, Devcontainer, Organization policy, Extension defaults).

If the setting reports false but inline suggestions are still active, it strongly indicates a bug. If it shows true and is overridden by a higher-precedence source, that points to a configuration precedence issue.

The Call for Official Clarification

The discussion concludes with a strong consensus that a clear, official statement from GitHub is needed. Users are seeking:

  • Confirmation of whether a supported, account-wide "Chat enabled, inline suggestions disabled" configuration currently exists for Codespaces.
  • Detailed documentation on the expected settings precedence order.
  • Guidance on how to achieve persistent control over Copilot features to enhance software development performance metrics.

This ongoing community dialogue underscores the importance of robust and predictable configuration management in modern software development software environments, ensuring developers can tailor their tools for maximum productivity.

Diagram showing settings precedence layers affecting a Codespace environment.
Diagram showing settings precedence layers affecting a Codespace environment.

|

Dashboards, alerts, and review-ready summaries built on your GitHub activity.

 Install GitHub App to Start
Dashboard with engineering activity trends