From 0afb2e5f5da6b60be98a27660332fe537306662e Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 23 Oct 2021 14:40:57 -0400 Subject: [PATCH] remove comments --- src/ScriptEditor/ui/ScriptEditorRoot.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ScriptEditor/ui/ScriptEditorRoot.tsx b/src/ScriptEditor/ui/ScriptEditorRoot.tsx index e1b5fa4a1..664bc7306 100644 --- a/src/ScriptEditor/ui/ScriptEditorRoot.tsx +++ b/src/ScriptEditor/ui/ScriptEditorRoot.tsx @@ -217,12 +217,6 @@ export function Root(props: IProps): React.ReactElement { function beautify(): void { if (editorRef.current === null) return; editorRef.current.getAction("editor.action.formatDocument").run(); - // const pretty = beautifyCode(code, { - // indent_with_tabs: !options.insertSpaces, - // indent_size: 4, - // brace_style: "preserve-inline", - // }); - // editorRef.current.setValue(pretty); } function onFilenameChange(event: React.ChangeEvent): void {