11import sidebarApps from "sidebarApps" ;
2-
3- import {
4- setKeyBindings as applyKeyBindings ,
5- executeCommand ,
6- getCommandKeymapExtension ,
7- getRegisteredCommands ,
8- refreshCommandKeymap ,
9- registerExternalCommand ,
10- removeExternalCommand ,
11- } from "cm/commandRegistry" ;
12- // TODO: Migrate touch handlers to CodeMirror
13- // import touchListeners, { scrollAnimationFrame } from "ace/touchHandler";
14-
152import { indentUnit } from "@codemirror/language" ;
163import { search } from "@codemirror/search" ;
174import { Compartment , EditorState , Prec , StateEffect } from "@codemirror/state" ;
@@ -34,6 +21,15 @@ import {
3421 wrapWithAbbreviation ,
3522} from "@emmetio/codemirror6-plugin" ;
3623import createBaseExtensions from "cm/baseExtensions" ;
24+ import {
25+ setKeyBindings as applyKeyBindings ,
26+ executeCommand ,
27+ getCommandKeymapExtension ,
28+ getRegisteredCommands ,
29+ refreshCommandKeymap ,
30+ registerExternalCommand ,
31+ removeExternalCommand ,
32+ } from "cm/commandRegistry" ;
3733import lspClientManager from "cm/lsp/clientManager" ;
3834import {
3935 getLspDiagnostics ,
@@ -68,7 +64,6 @@ import quickTools from "components/quickTools";
6864import ScrollBar from "components/scrollbar" ;
6965import SideButton , { sideButtonContainer } from "components/sideButton" ;
7066import keyboardHandler , { keydownState } from "handlers/keyboard" ;
71- // TODO: Update EditorFile for CodeMirror compatibility
7267import EditorFile from "./editorFile" ;
7368import openFile from "./openFile" ;
7469import { addedFolder } from "./openFolder" ;
0 commit comments