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

Couldn't create connection to server - command 'jumpToSchema' already exists #44

Open
joemccall86 opened this issue Jul 19, 2024 · 1 comment
Labels
Area: Code Extension VSCode Extension bug Something isn't working Coverage Code Coverage Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months

Comments

@joemccall86
Copy link

This notification shows when I try to open my codecov.yml file in VS code:

Image

Here is the output:

[Error - 9:50:15 AM] Server initialization failed.
Error: command 'jumpToSchema' already exists
    at f.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:203006)
    at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:164:22254)
    at ExecuteCommandFeature.register (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18121:52)
    at ExecuteCommandFeature.initialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18101:14)
    at LanguageClient.initializeFeatures (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:2190:21)
    at LanguageClient.doInitialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1697:18)
    at LanguageClient.start (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1579:13)
    at startClient (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:103:5)
    at c.n (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6384)
    at c.m (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6347)
    at c.l (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:5804)
[Error - 9:50:15 AM] Codecov Extension client: couldn't create connection to server.
Error: command 'jumpToSchema' already exists
    at f.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:203006)
    at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:164:22254)
    at ExecuteCommandFeature.register (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18121:52)
    at ExecuteCommandFeature.initialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18101:14)
    at LanguageClient.initializeFeatures (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:2190:21)
    at LanguageClient.doInitialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1697:18)
    at LanguageClient.start (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1579:13)
    at startClient (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:103:5)
    at c.n (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6384)
    at c.m (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6347)
    at c.l (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:5804)
[Error - 9:50:15 AM] Sending document notification textDocument/didOpen failed
Error: command 'jumpToSchema' already exists
    at f.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:203006)
    at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:164:22254)
    at ExecuteCommandFeature.register (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18121:52)
    at ExecuteCommandFeature.initialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18101:14)
    at LanguageClient.initializeFeatures (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:2190:21)
    at LanguageClient.doInitialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1697:18)
    at LanguageClient.start (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1579:13)
    at startClient (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:103:5)
    at c.n (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6384)
    at c.m (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6347)
    at c.l (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:5804)
[Error - 9:50:15 AM] Sending document notification textDocument/didOpen failed
Error: command 'jumpToSchema' already exists
    at f.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:154:203006)
    at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:164:22254)
    at ExecuteCommandFeature.register (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18121:52)
    at ExecuteCommandFeature.initialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:18101:14)
    at LanguageClient.initializeFeatures (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:2190:21)
    at LanguageClient.doInitialize (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1697:18)
    at LanguageClient.start (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:1579:13)
    at startClient (/Users/joe.mccall/.vscode/extensions/codecov.codecov-0.0.6/dist/extension.js:103:5)
    at c.n (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6384)
    at c.m (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:6347)
    at c.l (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:144:5804)

Here are all my installed extensions, since I think it may be relevant:

bazelbuild.vscode-bazel
circleci.circleci
codecov.codecov
dbaeumer.vscode-eslint
donjayamanne.githistory
editorconfig.editorconfig
elagil.pre-commit-helper
equinusocio.vsc-material-theme
equinusocio.vsc-material-theme-icons
fwcd.kotlin
github.copilot
github.copilot-chat
github.vscode-github-actions
github.vscode-pull-request-github
golang.go
graphql.vscode-graphql
graphql.vscode-graphql-syntax
hashicorp.terraform
jasonnutter.vscode-codeowners
mikestead.dotenv
ms-azuretools.vscode-docker
ms-kubernetes-tools.vscode-kubernetes-tools
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-slideshow
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.live-server
ms-vscode.makefile-tools
ms-vscode.remote-explorer
redhat.java
redhat.vscode-tekton-pipelines
redhat.vscode-yaml
rhaiscript.vscode-rhai
salesforce.salesforce-vscode-slds
salesforce.salesforcedx-vscode
salesforce.salesforcedx-vscode-apex
salesforce.salesforcedx-vscode-apex-debugger
salesforce.salesforcedx-vscode-apex-replay-debugger
salesforce.salesforcedx-vscode-core
salesforce.salesforcedx-vscode-lightning
salesforce.salesforcedx-vscode-lwc
salesforce.salesforcedx-vscode-soql
salesforce.salesforcedx-vscode-visualforce
scala-lang.scala
shopify.ruby-lsp
sswg.swift-lang
stkb.rewrap
teabyii.ayu
timonwong.shellcheck
vadimcn.vscode-lldb
visualstudioexptteam.intellicode-api-usage-examples
visualstudioexptteam.vscodeintellicode
vscjava.vscode-gradle
vscjava.vscode-java-debug
vscjava.vscode-java-dependency
vscjava.vscode-java-pack
vscjava.vscode-java-test
vscjava.vscode-maven
waderyan.gitblame
zxh404.vscode-proto3
@thomasrockhu-codecov thomasrockhu-codecov added bug Something isn't working Area: Code Extension VSCode Extension Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months Coverage Code Coverage labels Aug 13, 2024
@darrensherman
Copy link

I was able to resolve this issue on my own VSCode by uninstalling the YAML extension (aka redhat.vscode-yaml), so that is the likely culprit. However, I wouldn't recommend removing YAML as it will remove YAML validation across VSCode.

IMO - If the intent of this extension is just YAML validation, the YAML extension accomplishes the same thing, assuming the Codecov schema they're using from SchemaStore is valid and up-to-date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Code Extension VSCode Extension bug Something isn't working Coverage Code Coverage Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months
Projects
None yet
Development

No branches or pull requests

3 participants