Microsoft/vscode

Disable Windows 11 Native Text Suggestion and Autocomplete for VS Code

Open

#212,357 创建于 2024年5月9日

在 GitHub 查看
 (15 评论) (2 反应) (1 负责人)TypeScript (74,848 star) (10,221 fork)batch import
bughelp wantedquick-pickwindows 11

描述

Type: Bug

The text suggestion and autocomplete feature in Windows 11 creates usability issues when using Visual Studio Code (VS Code). Specifically, while typing into the command palette of VS Code, Windows' native text suggestion box covers the first or second line of the command palette text field. This obscures the commands presented in the VS Code interface and prevents users from clearly seeing and selecting the available commands. The problem occurs persistently (especially when VS Code is open full length from top to bottom) and impacts productivity by obstructing critical information that developers need for effective programming.

Expected Functionality:

  1. The native Windows 11 text suggestion feature should be disabled or have a configurable option to be turned off for certain apps.
  2. Typing into VS Code's command palette should display commands unimpeded by text suggestions.

Proposed Solution:

  1. Provide an option within the Windows Settings to disable text suggestions for individual applications.
  2. Alternatively, enhance the integration so that Windows recognizes text input fields where its suggestions might be intrusive and automatically suppresses them.

Justification:

Addressing this issue will significantly improve user productivity (especially for new users) by allowing developers to seamlessly interact with application features like VS Code's command palette. Enhancing this user experience will showcase Microsoft's dedication to delivering a customizable and efficient OS environment, where features like text suggestions enhance productivity instead of interfering with the applications that developers rely on daily. This will also reflect Microsoft's commitment to the developer-friendly design of VS Code and other developer tools, providing more control and adaptability for advanced users.

Attached is a video of the issue. I also submitted the issue to Feedback Hub for additional logs:

https://aka.ms/AAqc6jz

https://github.com/microsoft/vscode/assets/67825086/4ffc8a9a-b9bb-43ac-a61c-a26deefa4f51

Version: 1.90.0-insider (system setup) Commit: 5f78b58b57b7cf84d28d801fed6bb4a48f908601 Date: 2024-05-09T05:49:43.696Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0.26212 (latest Canary)

VS Code version: Code - Insiders 1.90.0-insider (5f78b58b57b7cf84d28d801fed6bb4a48f908601, 2024-05-09T05:49:43.696Z) OS version: Windows_NT x64 10.0.26212 Modes:

Item Value
CPUs Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (4 x 3600)
GPU Status 2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled
Load (avg) undefined
Memory (System) 31.94GB (18.87GB free)
Process Argv --crash-reporter-id 33aa9500-159b-46ef-8ca6-b1954373972e
Screen Reader no
VM 0%
Extension Author (truncated) Version
npm-intellisense chr 1.4.5
path-intellisense chr 2.8.5
dscodegpt Dan 3.2.11
python-environment-manager don 1.2.4
gitlens eam 2024.5.905
EditorConfig Edi 0.16.4
vscode-great-icons emm 2.1.104
vsc-material-theme-icons equ 3.6.0
expcode eSa 1.0.1
file-icons fil 1.1.0
copilot Git 1.188.865
copilot-chat Git 0.16.2024050901
remotehub Git 0.63.2024031101
oneapi-analysis-configurator int 0.1.24
oneapi-environment-configurator int 0.2.12
path-autocomplete ion 1.25.0
json-parser jac 0.0.1
debugger-voice-assistant Jae 0.0.1
better-extension-manager joa 1.1.2
symbols mig 0.0.17
csdevkit ms- 1.6.2
csharp ms- 2.29.11
dotnet-maui ms- 0.11.87
vscode-dotnet-runtime ms- 2.0.5
vscodeintellicode-csharp ms- 2.1.11
debugpy ms- 2024.6.0
python ms- 2024.7.11301009
vscode-pylance ms- 2024.5.1
azure-repos ms- 0.39.2024050601
cmake-tools ms- 1.18.36
cpptools ms- 1.20.5
cpptools-extension-pack ms- 1.3.0
makefile-tools ms- 0.10.7
powershell ms- 2024.3.2
remote-repositories ms- 0.41.2024022202
vscode-speech ms- 0.9.2024050912
web-editors ms- 0.1.0
environment-variable-vscode-extension Nec 1.0.3
nesting-config nyx 1.1.12
indent-rainbow ode 8.3.1
material-icon-theme PKi 5.1.0
java red 1.31.2024050908
vscode-xml red 0.26.2024042508
vscode-yaml red 1.14.0
windbg-debug rez 0.3.4
synthwave-vscode Rob 0.1.15
rust-analyzer rus 0.4.1953
ms-teams-vscode-extension Tea 5.7.2024041607
telerik-maui-productivity-tools Tel 1.1.1
pdf tom 1.2.2
cmake twx 0.0.17
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.3.1
vscodeintellicode-completions Vis 2.0.0
vscodeintellicode-insiders Vis 1.1.10
vscode-java-debug vsc 0.57.2024041008
vscode-icons vsc 12.7.0
json Zai 2.0.2
material-theme zhu 3.17.2

(5 theme extensions excluded)

vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
tftest:31042121
vstes627:30244334
vscod805:30301674
vsaa593cf:30376535
py29gd2263:31024238
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfnew:30980852
pythonait:30973460
showvideot:31016890
chatpanelt:31014475
jg8ic977:31013176
a69g1124:31018687
j0bi8933:31041997
dvdeprecation:31040973
pythonprt:31036556
dwnewjupytercf:31039676

贡献者指南