Page MenuHomePhabricator

Add additional CodeEditor toolbar buttons
Open, LowPublicFeature

Description

Just some ideas:

  • Enable soft wrapping of lines
  • Disable syntax checking/linting
  • Disable gutter/linenumbers
  • Select editor skin
  • Edit snippets

I think we should be conservative in adding options though. I'd appreciate to hear from people as to what they think is important


Version: master
Severity: enhancement

Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:37 AM
bzimport added a project: CodeEditor.
bzimport set Reference to bz59924.
bzimport added a subscriber: Unknown Object (MLST).
  • tab and page guides
  • undo/redo
  • indent/unindent
  • search and replace

sections:
UI
Editor

Created attachment 14975
Screenshot of CodeEditor toolbar

Attached:

Screen_Shot_2014-03-29_at_19.53.16.png (368×644 px, 82 KB)

Created attachment 14976
Screenshot of disabled CodeEditor toolbar

Attached:

Screen_Shot_2014-03-29_at_18.02.10.png (98×609 px, 23 KB)

Change 122085 had a related patch set uploaded by TheDJ:
CodeEditor: Add support for Editor themes

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

Created attachment 15027
Toolbar enabled v2

Attached:

Screen_Shot_2014-04-05_at_12.33.52.png (423×711 px, 99 KB)

Created attachment 15028
Toolbar disabled v2

Attached:

Screen_Shot_2014-04-05_at_12.34.03.png (406×670 px, 88 KB)

Change 125195 had a related patch set uploaded by TheDJ:
[WIP] Add option to show all keyboard shortcuts

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

TheDJ changed the task status from Open to Stalled.Mar 15 2015, 5:32 PM
TheDJ changed the status of subtask T61923: Add toolbar button to toggle invisible characters from Open to Stalled.

This is stalled on button design

Change 125195 had a related patch set uploaded (by Paladox):
[WIP] Add option to show all keyboard shortcuts

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

Surely live autocompletion should be there, no?

The "Auto indent" feature (context.codeEditor.autoIndent()) is another good candidate. It's pretty handy—especially when you're pasting code from somewhere else, especially if it's not properly indented or uses soft tabs—yet it's not even available through a key command.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM