Closed Bug 940713 Opened 9 years ago Closed 9 years ago
Enable autoclose brackets for source editor
Codemirror provides an option to autoclose brackets. This would be useful for the scratchpad and style editor.
WIP patch. I think the feature should be disabled in the inspector.
Assigning to Gabriel.
Assignee: nobody → gabriel.luong
Currently, looking into unit tests for this add-on.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Probably won't get to the unit tests till next week. I am curious if we could add in the unit tests later since this is a CM add-on (closebrackets.js).
Actually, StyleEditor already uses this addon. So the question is whether we should enable it by default or not. I don't think there's any harm in enabling it by default—given that all current tests pass.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 28
Verified as fixed on latest Aurora 28.0a2 (buildID: 20140131004003) under MAC OSX 10.8.5 32-bit, Ubuntu 32-bit and Win 7 64-bit. The brackets are autoclosed on Inspector, Scratchpad and Style Editor.
Status: RESOLVED → VERIFIED
QA Contact: petruta.rasa
You need to log in before you can comment on or make changes to this bug.