diff --git a/packages/examples/main/src/python/client.ts b/packages/examples/main/src/python/client.ts index 91afc2c9d..03f46aea1 100644 --- a/packages/examples/main/src/python/client.ts +++ b/packages/examples/main/src/python/client.ts @@ -53,6 +53,11 @@ const createLanguageClient = (transports: MessageTransports): MonacoLanguageClie error: () => ({ action: ErrorAction.Continue }), closed: () => ({ action: CloseAction.DoNotRestart }) }, + workspaceFolder: { + index: 0, + name: 'workspace', + uri: monaco.Uri.parse('/tmp') + }, synchronize: { fileEvents: [vscode.workspace.createFileSystemWatcher('**')] } @@ -72,11 +77,10 @@ const run = async () => { enableModelService: true, enableThemeService: true, enableTextmateService: true, - configureConfigurationServiceConfig: { + configureConfigurationService: { defaultWorkspaceUri: '/tmp' }, enableKeybindingsService: true, - enableQuickaccessService: true, debugLogging: true }); diff --git a/packages/examples/main/src/python/workspace/src/hello.py b/packages/examples/main/src/python/workspace/src/hello.py deleted file mode 100644 index d2c66e8ce..000000000 --- a/packages/examples/main/src/python/workspace/src/hello.py +++ /dev/null @@ -1,2 +0,0 @@ - -print("Hello, World!")