Skip to content

Many shortcuts do not work #26128

Description

Type: Bug

Behaviour

After having updated my extension, working with Python has become unbearable, I keep getting Actual command not found, wanted to execute python.removeUnusedImport /7327 and Actual command not found, wanted to execute python.removeUnusedImport /7327 errors.

Please fix

Steps to reproduce:

Use the quick fixes. See bug.

Diagnostic data

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

2026-08-25 09:15:51.467 [info] Environment discovery is managed by the Python Environments extension (ms-python.vscode-python-envs). Check the "Python Environments" output channel for environment-specific logs.
2026-08-25 09:15:51.467 [info] [test-by-project] Activating project-based testing mode
2026-08-25 09:15:51.467 [info] [test-by-project] Discovering projects for workspace: c:\Users\me\Documents\Code\my-project
2026-08-25 09:15:51.467 [info] Native locator: Refresh started
2026-08-25 09:15:51.467 [info] [test-by-project] Found 1 total Python projects from API
2026-08-25 09:15:51.467 [info] [test-by-project] Filtered to 1 projects in workspace
2026-08-25 09:15:51.467 [info] [test-by-project] Creating adapter for: my-project at file:///c%3A/Users/me/Documents/Code/my-project
2026-08-25 09:15:51.467 [info] > conda info --json
2026-08-25 09:15:51.959 [info] > ~\.pyenv\pyenv-win\bin\pyenv which python
2026-08-25 09:15:51.959 [info] cwd: .
2026-08-25 09:15:56.557 [info] Active interpreter [c:\Users\me\Documents\Code\my-project]:  C:\Users\me\AppData\Local\pypoetry\Cache\virtualenvs\my-project-8ZbktJOK-py3.12\Scripts\python.exe
2026-08-25 09:15:56.557 [info] [test-by-project] Registered 1 project(s) for c:\Users\me\Documents\Code\my-project
2026-08-25 09:15:56.569 [info] [test-by-project] Activated 1 project(s) for c:\Users\me\Documents\Code\my-project
2026-08-25 09:15:56.570 [info] [test-by-project] Subscribed to Python project changes
2026-08-25 09:16:00.942 [info] Starting Pylance language server.
2026-08-25 09:16:04.476 [info] Native locator: Refresh finished in 14309 ms

Extension version: 2026.4.0
VS Code version: Code 1.134.0 (110a328ea54b42367b803ec53ee0bf52ef26b419, 2026-08-18T18:24:44Z)
OS version: Windows_NT x64 10.0.26200
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.12.10.final.0
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Poetry
  • Value of the python.languageServer setting: Pylance
User Settings


languageServer: "Pylance"

testing
• pytestArgs: "<placeholder>"

Installed Extensions
Extension Name Extension Id Version
autodocstringpy sun 0.6.4
azure-dev ms- 0.10.0
azure-repos ms- 0.40.0
boto3-ide Bot 0.6.0
cpp-devtools ms- 0.5.14
cpptools ms- 1.33.8
cpptools-extension-pack ms- 1.5.1
cpptools-themes ms- 2.0.0
debugpy ms- 2026.6.0
docker doc 0.18.0
even-better-toml tam 0.21.2
flake8 ms- 2026.6.0
gettext get 1.0.4
git-graph mhu 1.30.0
gitblame wad 13.1.0
gitlab-workflow Git 6.88.1
go gol 0.56.0
html-preview-vscode geo 0.2.5
indent-rainbow ode 8.3.1
JavaScriptSnippets xab 1.8.0
jinja who 0.0.8
jinja-snippets nox 1.0.0
jinjahtml sam 0.20.0
js-debug ms- 1.117.0
js-debug-companion ms- 1.1.3
json Mee 0.1.2
jsts-chat-features Typ 0.0.4
jupyter ms- 2025.9.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.3.0
makefile-tools ms- 0.12.17
markdown-checkbox bie 0.4.0
markdown-emoji bie 0.3.1
markdown-footnotes bie 0.1.1
markdown-mermaid bie 1.32.1
markdown-table-prettify dar 4.1.0
markdown-toc jof 1.4.0
markdowntable Tak 0.13.0
marp-vscode mar 3.6.1
mermaid-markdown-syntax-highlighting bpr 1.8.1
mermaid-sequence-number kke 1.2.1
multi-command ryu 1.6.0
myst-tml-syntax chr 0.1.3
powershell ms- 2025.4.0
prettify-json moh 0.0.3
pretty-xml-preview App 0.0.9
pytest-fixtures nic 0.3.3
pytest-runner pam 0.0.13
python ms- 2026.4.0
python-docstring-highlighter rod 0.2.4
rainbow-bracket tal 1.0.2
rainbow-csv mec 3.24.1
remote-containers ms- 0.466.0
remote-explorer ms- 0.5.0
remote-repositories ms- 0.42.0
remote-server ms- 1.5.3
remote-ssh ms- 0.124.0
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.104.3
remotehub Git 0.64.0
restructuredtext lex 190.4.12
svg joc 1.5.4
terraform has 2.40.0
test-adapter-converter ms- 0.2.1
vscode-azureappservice ms- 0.27.0
vscode-azurecontainerapps ms- 0.11.2
vscode-azurefunctions ms- 1.22.1
vscode-azureresourcegroups ms- 0.12.7
vscode-azurestaticwebapps ms- 0.13.3
vscode-azurestorage ms- 0.17.2
vscode-azurevirtualmachines ms- 0.6.11
vscode-containers ms- 2.5.0
vscode-cosmosdb ms- 0.36.1
vscode-cython ktn 1.0.3
vscode-docker ms- 2.0.0
vscode-js-profile-table ms- 1.0.11
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
vscode-markdown-extrajs mor 0.0.20
vscode-markdown-table pha 1.7.0
vscode-markdownlint Dav 0.62.1
vscode-node-azure-pack ms- 1.8.2
vscode-pylance ms- 2026.3.1
vscode-pytest Cam 0.1.1
vscode-python-envs ms- 1.36.0
vscode-python-test-adapter lit 0.8.2
vscode-python-typehint njq 1.5.1
vscode-remote-extensionpack ms- 0.26.0
vscode-sqlite3-editor yy0 1.0.214
vscode-systemd-support han 3.0.0
vscode-test-explorer hbe 2.22.1
vscode-xml red 0.29.3
vscode-yaml red 1.24.0
vsliveshare ms- 1.1.122
xml Dot 2.5.1
System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12800H (20 x 2803)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x46a6 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7088 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x25b9 [NVIDIA RTX A1000 Laptop GPU], DRIVER_VERSION=32.0.15.9671
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.69GB (25.85GB free)
Process Argv --crash-reporter-id 7534a66a-4101-4282-b911-c103789e5d9e
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
82j33506:31327384
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
ei9d7968:31496641
chat:31457767
ghj88844:31499326
h08i8180_copy:31475368
23c7c724:31520045
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
jf4hg949:31526829
ahp-both-windows:31556933
sessions_3:31532893
ihg5j128:31534457
f412h606:31551416
7g2b5551:31542111
enable_editor_pane_layout:31569726
allow-none:31555437
fd5dc207:31551400
36h42362:31564511
c7c27ce7:31554789
1h923230:31564177
1532g621_copy:31554320
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
maidictation:31565333
0c1h4866:31566224
vrbsty_fls:31561059
session-mark-done:31558131
5b8j3302:31564601
mangle-name-treatment:31572634
permission_prompt_treatment:1332566
ccr_pr_nudge_auto_review:1319472
vsc_wsm_c:1340633

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions