Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app playground: using search service make it the default tab #815

Open
rubenfiszel opened this issue Jan 6, 2025 · 5 comments
Open

app playground: using search service make it the default tab #815

rubenfiszel opened this issue Jan 6, 2025 · 5 comments

Comments

@rubenfiszel
Copy link

if using the search service then upon opening of the app playground, instead of seeing the explorer tab, it defaults to the search tab:
image

This is confusing. I couldn't find where to set it. It's more of a vscode issue than it is a monaco-languageclient issue.

Relevant wrapper config:

				serviceOverrides: {
					...getConfigurationServiceOverride(),
					...getKeybindingsServiceOverride(),
					...getLifecycleServiceOverride(),
					...getSearchServiceOverride(),
					...getExplorerServiceOverride()

				},

				viewsConfig: {
					viewServiceType: 'ViewsService',
					viewsInitFunc: defaultViewsInit
				},
@kaisalmen
Copy link
Collaborator

kaisalmen commented Jan 6, 2025

Hi @rubenfiszel I can reproduce and will see now if I can provide you a way forward.

@kaisalmen
Copy link
Collaborator

@rubenfiszel PR is up

@kaisalmen
Copy link
Collaborator

You can do this:

await vscode.commands.executeCommand('workbench.view.explorer');

@kaisalmen
Copy link
Collaborator

The suggestion above forces something that should not be according to Loic. Ler's see

@kaisalmen
Copy link
Collaborator

@rubenfiszel you can use the workaround from above until the real problem is identified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants