Skip to content

Hurried Command not found error because the extensions are not loaded yet #34913

Closed

Description

I often switch between different projects and execute a shortcut right away, for instance for spawning a terminal via Terminals.

The problem is that I often get some quite annoying Command "whatever" not found, just because the extensions providing those commands have not been loaded yet.

I believe Code should behave like this:

if ( command exists ) {
  run it
} else if ( extensions are still loading ) {
  await them and re-execute the function
} else {
  show the error message
}

Or always wait until the extensions are loaded, in order to avoid executing the wrong command, for instance if an extension overrides a default shortcut.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugextension-hostExtension host issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions