Skip to content

Editor Settings

Customize the CodeMirror editor used by Acode.

Editor Options

SettingDescriptionAllowed Values / NotesDefault
AutosaveAuto-save after delay.0 (off) or >= 1000 ms0
Font SizeEditor text size.CSS size string (e.g. 12px)12px
Editor FontFont family used in editor.Any installed editor fontRoboto Mono
Line HeightLine spacing in editor.1.0 to 2.02
Soft TabInsert spaces instead of tab character.On/OffOn
Tab SizeVisual/indent tab width.1 to 82
Show Line NumbersShow line number gutter.On/OffOn
Relative Line NumbersShow relative numbers from cursor line.On/OffOff
Lint GutterShow diagnostics markers in gutter (LSP-related).On/OffOn
Format on SaveRuns selected formatter on save.On/OffOff
Live AutocompletionSuggest completions while typing.On/OffOn
Text WrapWrap long lines in editor viewport.On/OffOn
Show SpacesShow spaces/tabs/trailing whitespace markers.On/OffOff
Fade Fold WidgetsFolds gutter icons fade until hover.On/OffOff
Rainbow BracketsColor bracket pairs with nested colors.On/OffOn
Indent GuidesShow indentation guide lines.On/OffOn
Color PreviewInline color swatches for color values.On/OffOn
Cursor Controller SizeTouch cursor handle size.None, Small, Medium, LargeMedium
Line Based RTL SwitchingPer-line right-to-left direction support.On/OffOff
Hard WrapLegacy option in settings UI.Currently limited/no-op in CodeMirror flowOff

Scroll Settings (Sub-page)

The Scroll Settings item opens a sub-page.

SettingDescriptionValuesDefault
Scrollbar SizeWidth/height of editor scrollbars.5, 10, 15, 20 px20

Notes

  • Some old Ace-era options (print margin, elastic tabstops, textarea-for-IME) are no longer active in current CodeMirror editor settings flow.
  • Lint Gutter visibility is tied to diagnostics UI from active language servers (LSP).

Released under the MIT License.