Page MenuHomePhabricator

Offer indentation grid lines in CodeMirror
Open, In Progress, MediumPublic

Description

Requested at T373711#11466069. This is needed to have feature parity with CodeEditor. I suppose it should be a preference, default OFF for wikitext.

CodeMirror 6 does not offer grid lines as part of the library (ref). Some inspiration for a concise solution may be found at https://gist.github.com/s-cork/898cd7c21e55a4963132cb9d9e2c6615

Details

Event Timeline

MusikAnimal triaged this task as Medium priority.Mar 8 2026, 3:13 AM

We will still look at this, but I don't think it's a hard requirement for replacing CodeEditor.

Change #1281556 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/CodeMirror@master] indentGuides: new extension

https://gerrit.wikimedia.org/r/1281556

Bhsd changed the task status from Open to In Progress.Wed, May 6, 3:08 PM
Bhsd claimed this task.