Closed
Bug 886474
Opened 11 years ago
Closed 11 years ago
Stop using Ctrl + ] [ to match brackets in source editor
Categories
(DevTools :: Source Editor, defect)
DevTools
Source Editor
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: Optimizer, Assigned: Optimizer)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
9.19 KB,
patch
|
msucan
:
review+
|
Details | Diff | Splinter Review |
When you are in Debugger or Style Editor, Ctrl + ] and Ctrl + [ are used to match brackets, due to which we cannot use those shortcuts to switch tools as we want in bug 879219. After discussing on IRC with Victor and Mihai, we came up with a consensus to change the source-editor's shortcuts. The most favorable shortcut is Ctrl + M and Ctrl + Shift + M. But if we are not happy with that, we can do Ctrl + Alt + ] [ .
Comment 1•11 years ago
|
||
+1 Ctrl+Alt+[/]
Assignee | ||
Comment 2•11 years ago
|
||
Oh, I forgot to mention why Ctrl + M is favorable: because its used by Sublime Text
Comment 3•11 years ago
|
||
Ctrl+Alt+[/]
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #767925 -
Flags: review?(mihai.sucan)
Comment 5•11 years ago
|
||
Comment on attachment 767925 [details] [diff] [review] patch v0.1 Thanks! r+ with green try push.
Attachment #767925 -
Flags: review?(mihai.sucan) → review+
Assignee | ||
Comment 6•11 years ago
|
||
green try : https://tbpl.mozilla.org/?tree=Try&rev=b044fa5da599
Whiteboard: [land-in-fx-team]
Assignee | ||
Comment 7•11 years ago
|
||
Landed : https://hg.mozilla.org/integration/fx-team/rev/4cdab5388392
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 8•11 years ago
|
||
Trying to use Ctrl+Alt+[/] doesn't seem to have any effect, but Ctrl+Shift+[/] works. Inspecting the patch confirms that. The problem with that however, is that on OS X at least, this shortcut conflicts with the shortcut to switch tabs, which makes bracket matching only work in a detached toolbox. Let's either use the agreed upon shortcut or use a different one on OS X.
Assignee | ||
Comment 9•11 years ago
|
||
Whoops. Fix coming.
Assignee | ||
Comment 10•11 years ago
|
||
Correct patch. going through try
Attachment #767925 -
Attachment is obsolete: true
Attachment #770122 -
Flags: review?(mihai.sucan)
Assignee | ||
Comment 11•11 years ago
|
||
try seems to be green https://tbpl.mozilla.org/?tree=Try&rev=01196ec712d5
Updated•11 years ago
|
Attachment #770122 -
Flags: review?(mihai.sucan) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Backed out the previous patch : https://hg.mozilla.org/integration/fx-team/rev/70a26ecaed5c and landed again : https://hg.mozilla.org/integration/fx-team/rev/d90d62737979
Comment 13•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4cdab5388392
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 25
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•