Skip to content

JetBrains: set 'codemirror6' as monaco query input editor component

Created by: taras-yemets

Closes https://github.com/sourcegraph/sourcegraph/issues/37722

Sets 'codemirror6' as editor component for the monaco query input. By default (settings, usages) monaco is the editor component used in LazyMonacoQueryInput component.

Although, mouse selection works well for both editor components on sourcegraph.com, for yet unknow reason monaco editor component doesn't allow mouse selection while codemirror6 allows. This PR suggests to ignore editor experimental feature value until we figure out why monaco editor component doesn't wotk for the JetBRains plugin.

Loom

Test plan

Run JetBrains plugin in standalone mode and ensure that query input can be selected both with keyboard and mouse/touchpad.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading