Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command 'jumpToSchema' already exists #1075

Open
alexanderilyin opened this issue Dec 14, 2024 · 2 comments
Open

command 'jumpToSchema' already exists #1075

alexanderilyin opened this issue Dec 14, 2024 · 2 comments

Comments

@alexanderilyin
Copy link

alexanderilyin commented Dec 14, 2024

Type: Bug

  1. Start Dev Container
Couldn't start client YAML Support
command 'jumpToSchema' already exists
Extension version: 1.15.0
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
System Info
Item Value
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 3793)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 79.91GB (44.71GB free)
Process Argv --crash-reporter-id 828c2b46-e47b-405a-9312-09a86750d998
Screen Reader no
VM 0%
Item Value
Remote Dev Container: PartCAD Dev Container @ desktop-linux
OS Linux x64 5.15.153.1-microsoft-standard-WSL2
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 0)
Memory (System) 39.13GB (35.52GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

Image

Possible workaround

Image

@alexanderilyin
Copy link
Author

Weird, I disabled redhat.vscode-yaml in Dev Container but I still have it installed after rebuild container command.

[Error - 11:57:31 PM] Server initialization failed.
Error: command 'jumpToSchema' already exists
    at cw.registerCommand (file:///vscode/vscode-server/bin/linux-x64/138f619c86f1199955d53b4166bef66ef252935c/out/vs/workbench/api/node/extensionHostProcess.js:115:31527)
    at Object.registerCommand (file:///vscode/vscode-server/bin/linux-x64/138f619c86f1199955d53b4166bef66ef252935c/out/vs/workbench/api/node/extensionHostProcess.js:157:36729)
    at X.register (/home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:382243)
    at X.initialize (/home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:381815)
    at _.initializeFeatures (/home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:402307)
    at /home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:393804
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:454:9)
[Error - 11:57:31 PM] Starting client failed
Error: command 'jumpToSchema' already exists
    at cw.registerCommand (file:///vscode/vscode-server/bin/linux-x64/138f619c86f1199955d53b4166bef66ef252935c/out/vs/workbench/api/node/extensionHostProcess.js:115:31527)
    at Object.registerCommand (file:///vscode/vscode-server/bin/linux-x64/138f619c86f1199955d53b4166bef66ef252935c/out/vs/workbench/api/node/extensionHostProcess.js:157:36729)
    at X.register (/home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:382243)
    at X.initialize (/home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:381815)
    at _.initializeFeatures (/home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:402307)
    at /home/vscode/.vscode-server/extensions/redhat.vscode-yaml-1.15.0/dist/extension.js:2:393804
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:454:9)

Doing rebuild w/o cache now.

@alexanderilyin
Copy link
Author

How do I ban redhat.vscode-yaml for good?

⬢ [Docker] ❯ grep redhat.vscode-yaml .devcontainer/devcontainer.json 
        // "redhat.vscode-yaml", # TODO:command 'jumpToSchema' already exists

It seems it's still being installed as dependency of other extension?

⬢ [Docker] ❯ code --list-extensions | grep yaml
bierner.markdown-yaml-preamble
redhat.vscode-yaml

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

No branches or pull requests

1 participant