Skip to content

Add user settings for toggling autocomplete#2330

Merged
GeorgeNgMsft merged 4 commits into
mainfrom
dev/georgeng/config_autocomplete
May 12, 2026
Merged

Add user settings for toggling autocomplete#2330
GeorgeNgMsft merged 4 commits into
mainfrom
dev/georgeng/config_autocomplete

Conversation

@GeorgeNgMsft
Copy link
Copy Markdown
Contributor

@GeorgeNgMsft GeorgeNgMsft commented May 12, 2026

Autocomplete User Config

Adds a persistent ui.autoComplete setting that lets users enable or disable inline
autocomplete suggestions in the CLI and Shell, configurable via command or natural language.

CLI

Autocomplete can be toggled at runtime without restarting. The completion controller always
owns stdin (avoiding conflicts with readline's incompatible input mode); when disabled, it
simply receives no controller and falls back to plain character input.

Shell

The shell watches ~/.typeagent/user-settings.json for changes and immediately applies the
partialCompletion setting when the file is updated, with no restart required.

Natural Language

Phrases like "disable autocomplete" or "turn on inline suggestions" are handled via a new
setAutoComplete action in the system settings schema, routed through the existing @settings
ui autoComplete command.

Commands

  • @settings ui autoComplete false # disable
  • @settings ui autoComplete true # re-enable
  • @settings # show current value

@GeorgeNgMsft GeorgeNgMsft temporarily deployed to development-fork May 12, 2026 08:37 — with GitHub Actions Inactive
@GeorgeNgMsft GeorgeNgMsft temporarily deployed to development-fork May 12, 2026 08:37 — with GitHub Actions Inactive
@GeorgeNgMsft GeorgeNgMsft marked this pull request as ready for review May 12, 2026 08:57
@GeorgeNgMsft GeorgeNgMsft added this pull request to the merge queue May 12, 2026
Merged via the queue into main with commit 255bb99 May 12, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant