Closed Bug 706230 Opened 8 years ago Closed 8 years ago

GCLI should have a jump-to-scratchpad feature

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 12

People

(Reporter: jwalker, Assigned: jwalker)

Details

Attachments

(1 file, 2 obsolete files)

GCLI needs a keyboard shortcut to take the current contents of the command line and transfer it to a new scratchpad. (assuming we're editing javascript)

» { window.addE<CTRL+ENTER>

Up pops a new scratchpad containing 'window.addE' with the cursor in the right place, just ready for a hardcore JS session.
Assignee: nobody → jwalker
Status: NEW → ASSIGNED
Blocks: GCLI-SHIP
No longer blocks: GCLI-FUTURE
Blocks: GCLI-12
No longer blocks: GCLI-SHIP
Attached patch upload 1 (obsolete) — Splinter Review
Attachment #587277 - Flags: review?(dcamp)
Attachment #587277 - Flags: review?(dao)
Comment on attachment 587277 [details] [diff] [review]
upload 1

>+.gcli-in-scratchlink {
>+  float: right;
>+  font-size: 85%;
>+  color: #888;
>+  padding-right: 10px;
>+}

Is this always using left-to-right layout even in right-to-left locales?
(In reply to Dão Gottwald [:dao] from comment #2)
> Comment on attachment 587277 [details] [diff] [review]
> upload 1
> 
> >+.gcli-in-scratchlink {
> >+  float: right;
> >+  font-size: 85%;
> >+  color: #888;
> >+  padding-right: 10px;
> >+}
> 
> Is this always using left-to-right layout even in right-to-left locales?

It is. And it should be.
Attachment #587277 - Flags: review?(dao) → review+
Bug triage, filter on PEGASUS.
Target Milestone: --- → Firefox 12
Bug triage, filter on PEGASUS.
Priority: -- → P2
Thanks for the r+ Dao.
Attached patch upload 2 (obsolete) — Splinter Review
CSS unchanged.
This just adds unit tests.
Attachment #587277 - Attachment is obsolete: true
Attachment #587277 - Flags: review?(dcamp)
Attachment #587838 - Flags: review?(dcamp)
Attached patch upload 3Splinter Review
Adding in missing files.
Attachment #587838 - Attachment is obsolete: true
Attachment #587838 - Flags: review?(dcamp)
Attachment #587849 - Flags: review?(dcamp)
Attachment #587849 - Flags: review?(dcamp) → review+
https://hg.mozilla.org/mozilla-central/rev/85c42ab04ac3
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
No longer blocks: GCLI-12
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.