We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94fcc60 commit 98284d0Copy full SHA for 98284d0
src/formatter-settings/index.ts
@@ -56,7 +56,12 @@ export class JavaFormatterSettingsEditorProvider implements vscode.CustomTextEdi
56
}
57
58
public async showFormatterSettingsEditor(): Promise<void> {
59
- if (this.webviewPanel || !await this.checkProfileSettings() || !this.settingsUrl) {
+ if (this.webviewPanel) {
60
+ this.webviewPanel.reveal();
61
+ return;
62
+ }
63
+
64
+ if (!await this.checkProfileSettings() || !this.settingsUrl) {
65
return;
66
67
const filePath = this.readOnly ? vscode.Uri.parse(this.settingsUrl).with({ scheme: RemoteProfileProvider.scheme }) : vscode.Uri.file(this.profilePath);
0 commit comments