-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
BugA bug in TypeScriptA bug in TypeScriptVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
Problem
When a TS Server plug-in is not loaded, the TS Server currently fails silently. This results in a confusing experience for users since intellisense or other expected plugin features will not work. You currently have to check the TS Server logs to see that a plugin was not loaded
Request
Send an error event to the client when a plugin fails to load. I imagine the interface would look like:
type PluginInitializationFailedEventName = "pluginInitializationFailed";
interface PluginInitializationFailedEvent extends Event {
event: PluginInitializationFailedEventName;
body: PluginInitializationFailedEventBody;
}
interface PluginInitializationFailedEventBody {
name: string;
project?: string; // Path to the js/tsconfig file that registered this plugin
}
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue