add: formatCode cmd back in codemirror 6#2063
add: formatCode cmd back in codemirror 6#2063UnschooledGamer merged 1 commit intoAcode-Foundation:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
Greptile SummaryThis PR restores the Confidence Score: 5/5Safe to merge — single-entry addition with no logic changes and confirmed integration with existing action dispatch. The change is a one-entry addition to a config array. The No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["User presses Ctrl-Alt-F"] --> B["CodeMirror keymap intercepts"]
B --> C["executeCommand('formatCode', view)"]
C --> D{"commandRunsInReadOnly?"}
D -- "readOnly:false → blocked when view is read-only" --> E["return false (no-op)"]
D -- "editor is writable" --> F["command.run(view)"]
F --> G["acode.exec('format')"]
G --> H["Format handler runs"]
Reviews (1): Last reviewed commit: "add: formatCode cmd back in codemirror 6" | Re-trigger Greptile |
|
Preview Release for this, has been built. |
No description provided.