From 068e40fe8653912e772831ec89647f669f8bf735 Mon Sep 17 00:00:00 2001 From: George Gritsouk <989898+gggritso@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:42:49 -0400 Subject: [PATCH] feat: CodeMirror line wrapping (#6247) A small leftover request from Hackweek. --- snuba/admin/static/common/components/sql_editor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/snuba/admin/static/common/components/sql_editor.tsx b/snuba/admin/static/common/components/sql_editor.tsx index 7a8663457c..888ffaec7e 100644 --- a/snuba/admin/static/common/components/sql_editor.tsx +++ b/snuba/admin/static/common/components/sql_editor.tsx @@ -32,6 +32,7 @@ export function SQLEditor({ value, onChange }: Props) { multiNewLine, theme, highlighting, + EditorView.lineWrapping, lineNumbers(), sql(), ];