Skip to content

Commit

Permalink
Fix #146161
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Mar 28, 2022
1 parent 1cc6ee1 commit 908fd3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class ConfigureLanguageBasedSettingsAction extends Action {
if (pick) {
const languageId = this.languageService.getLanguageIdByLanguageName(pick.label);
if (typeof languageId === 'string') {
return this.preferencesService.openUserSettings({ jsonEditor: true, revealSetting: { key: `[${languageId}]`, edit: true } });
return this.preferencesService.openUserSettings({ query: `@lang:${languageId}` });
}
}
return undefined;
Expand Down

0 comments on commit 908fd3f

Please sign in to comment.