(params: UnregistrationParams)
| 2938 | } |
| 2939 | |
| 2940 | private handleUnregistrationRequest(params: UnregistrationParams): Thenable<void> { |
| 2941 | return new Promise<void>((resolve, reject) => { |
| 2942 | for (let unregistration of params.unregisterations) { |
| 2943 | const feature = this._dynamicFeatures.get(unregistration.method); |
| 2944 | if (!feature) { |
| 2945 | reject(new Error(`No feature implementation for ${unregistration.method} found. Unregistration failed.`)); |
| 2946 | return; |
| 2947 | } |
| 2948 | feature.unregister(unregistration.id); |
| 2949 | }; |
| 2950 | resolve(); |
| 2951 | }); |
| 2952 | } |
| 2953 | |
| 2954 | private handleApplyWorkspaceEdit(params: ApplyWorkspaceEditParams): Thenable<ApplyWorkspaceEditResponse> { |
| 2955 | // This is some sort of workaround since the version check should be done by VS Code in the Workspace.applyEdit. |
nothing calls this directly
no test coverage detected