Skip to content

Commit

Permalink
#521 Added workspace folder config
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Aug 16, 2023
1 parent bc4f382 commit 2088f1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/examples/main/src/python/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('**')]
}
Expand Down

0 comments on commit 2088f1a

Please sign in to comment.