Do not use native Proxy as it breaks debugging vscode

This commit is contained in:
Alex Dima
2016-06-27 17:54:40 +02:00
parent 6114fbc118
commit 9f1e006be5
29 changed files with 384 additions and 208 deletions

View File

@@ -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(