Skip to content

Commit

Permalink
Add storage service. Comment command exec workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Jan 6, 2025
1 parent f265b24 commit cb12941
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"@codingame/monaco-vscode-standalone-json-language-features": "~11.1.2",
"@codingame/monaco-vscode-standalone-languages": "~11.1.2",
"@codingame/monaco-vscode-standalone-typescript-language-features": "~11.1.2",
"@codingame/monaco-vscode-storage-service-override": "~11.1.2",
"@codingame/monaco-vscode-textmate-service-override": "~11.1.2",
"@codingame/monaco-vscode-theme-defaults-default-extension": "~11.1.2",
"@codingame/monaco-vscode-theme-service-override": "~11.1.2",
Expand Down
8 changes: 5 additions & 3 deletions packages/examples/src/appPlayground/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import getRemoteAgentServiceOverride from '@codingame/monaco-vscode-remote-agent
import getEnvironmentServiceOverride from '@codingame/monaco-vscode-environment-service-override';
import getSecretStorageServiceOverride from '@codingame/monaco-vscode-secret-storage-service-override';
import getSearchServiceOverride from '@codingame/monaco-vscode-search-service-override';
import getStorageServiceOverride from '@codingame/monaco-vscode-storage-service-override';
// this is required syntax highlighting
import '@codingame/monaco-vscode-typescript-basics-default-extension';
import '@codingame/monaco-vscode-typescript-language-features-default-extension';
Expand Down Expand Up @@ -56,7 +57,8 @@ export const runApplicationPlayground = async () => {
...getRemoteAgentServiceOverride(),
...getEnvironmentServiceOverride(),
...getSecretStorageServiceOverride(),
...getSearchServiceOverride()
...getSearchServiceOverride(),
...getStorageServiceOverride()
},
enableExtHostWorker: true,
viewsConfig: {
Expand Down Expand Up @@ -134,8 +136,8 @@ export const runApplicationPlayground = async () => {
// currently unused
await getService(IWorkbenchLayoutService);

// show explorer and not search
await vscode.commands.executeCommand('workbench.view.explorer');
// WA: Force show explorer and not search
// await vscode.commands.executeCommand('workbench.view.explorer');

await Promise.all([
await vscode.window.showTextDocument(helloTsUri),
Expand Down

0 comments on commit cb12941

Please sign in to comment.