mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Do not use native Proxy as it breaks debugging vscode
This commit is contained in:
@@ -12,8 +12,7 @@ import {ExtHostEditors} from 'vs/workbench/api/node/extHostEditors';
|
||||
import * as extHostTypes from 'vs/workbench/api/node/extHostTypes';
|
||||
import * as extHostTypeConverter from 'vs/workbench/api/node/extHostTypeConverters';
|
||||
import {cloneAndChange} from 'vs/base/common/objects';
|
||||
import {MainContext} from './extHostProtocol';
|
||||
import {MainThreadCommands} from './mainThreadCommands';
|
||||
import {MainContext, MainThreadCommandsShape} from './extHostProtocol';
|
||||
|
||||
interface CommandHandler {
|
||||
callback: Function;
|
||||
@@ -24,7 +23,7 @@ interface CommandHandler {
|
||||
export class ExtHostCommands {
|
||||
|
||||
private _commands: { [n: string]: CommandHandler } = Object.create(null);
|
||||
private _proxy: MainThreadCommands;
|
||||
private _proxy: MainThreadCommandsShape;
|
||||
private _extHostEditors: ExtHostEditors;
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user