Skip to content

Commit 9212a25

Browse files
authored
fix: Formatter Settings Editor shows the wrong category (#656)
1 parent 564911c commit 9212a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formatter-settings/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ export class JavaFormatterSettingsEditorProvider implements vscode.CustomTextEdi
170170
}
171171

172172
private async initialize(document: vscode.TextDocument): Promise<boolean> {
173+
this.exampleKind = ExampleKind.INDENTATION_EXAMPLE;
173174
if (!await this.checkRequirement() || !await this.checkProfileSettings() || !await this.parseProfileAndUpdate(document)) {
174175
return false;
175176
}
176-
this.exampleKind = ExampleKind.INDENTATION_EXAMPLE;
177177
this.webviewPanel?.webview.postMessage({
178178
command: "changeReadOnlyState",
179179
value: this.readOnly,

0 commit comments

Comments
 (0)