From 1a060d4204da181f295318649a5dafbef9d116cf Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 9 Mar 2025 13:02:30 -0600 Subject: [PATCH] fix(ui): improve Docker Compose autocomplete formatting - Add space after colon in Docker Compose service options - Remove unnecessary console.log statement --- apps/dokploy/components/shared/code-editor.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/dokploy/components/shared/code-editor.tsx b/apps/dokploy/components/shared/code-editor.tsx index 8f726130..4acd2a6f 100644 --- a/apps/dokploy/components/shared/code-editor.tsx +++ b/apps/dokploy/components/shared/code-editor.tsx @@ -75,7 +75,7 @@ const dockerComposeServiceOptions = [ ].map((opt) => ({ ...opt, apply: (view: EditorView, completion: Completion) => { - const insert = `${completion.label}:`; + const insert = `${completion.label}: `; view.dispatch({ changes: { from: view.state.selection.main.from, @@ -99,7 +99,6 @@ function dockerComposeComplete( const line = context.state.doc.lineAt(context.pos); const indentation = /^\s*/.exec(line.text)?.[0].length || 0; - console.log(indentation); if (indentation === 0) { return { from: word.from,