Closed
Bug 1138518
Opened 11 years ago
Closed 11 years ago
Add JS template strings to the autoclose brackets list
Categories
(DevTools :: Source Editor, defect)
DevTools
Source Editor
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
| Tracking | Status | |
|---|---|---|
| firefox39 | --- | fixed |
People
(Reporter: Kwan, Assigned: Kwan)
Details
Attachments
(1 file, 2 obsolete files)
bz already filed this upstream https://github.com/codemirror/CodeMirror/issues/3110 after a discussion in #devtools, but it turns out we override the list locally anyway in
https://hg.mozilla.org/mozilla-central/file/eea6188b9b05/browser/devtools/sourceeditor/editor.js#l158
so can just add them there. Patch incoming.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8571437 -
Flags: review?(bgrinstead)
Comment 2•11 years ago
|
||
Comment on attachment 8571437 [details] [diff] [review]
Add JS template string (`) to autoCloseBrackets
Review of attachment 8571437 [details] [diff] [review]:
-----------------------------------------------------------------
Sounds good, but this test will need to be updated or else it will fail with the patch applied: https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/test/browser_editor_prefs.js#74.
Attachment #8571437 -
Flags: review?(bgrinstead) → review-
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #2)
> Comment on attachment 8571437 [details] [diff] [review]
> Add JS template string (`) to autoCloseBrackets
>
> Review of attachment 8571437 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Sounds good, but this test will need to be updated or else it will fail with
> the patch applied:
> https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/
> test/browser_editor_prefs.js#74.
Ah, apologies for missing this. Updated and run tests locally and passes, and try run at
https://treeherder.mozilla.org/#/jobs?repo=try&revision=04bb87cb4e00
Attachment #8571437 -
Attachment is obsolete: true
Attachment #8571461 -
Flags: review?(bgrinstead)
Comment 4•11 years ago
|
||
Comment on attachment 8571461 [details] [diff] [review]
Add JS template string (`) to autoCloseBrackets, with test update
Review of attachment 8571461 [details] [diff] [review]:
-----------------------------------------------------------------
Nice. Would you mind updating the commit message to mention that this is for the devtools source editor, and alsoadd r=bgrins at the end of the message?
Attachment #8571461 -
Flags: review?(bgrinstead) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #4)
> Comment on attachment 8571461 [details] [diff] [review]
> Add JS template string (`) to autoCloseBrackets, with test update
>
> Review of attachment 8571461 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Nice. Would you mind updating the commit message to mention that this is
> for the devtools source editor, and alsoadd r=bgrins at the end of the
> message?
Sure, done.
Attachment #8571461 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #8571484 -
Flags: review+
Comment 7•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•