Closed Bug 883275 Opened 12 years ago Closed 8 years ago

Scratchpad needs an execution sections

Categories

(DevTools Graveyard :: Scratchpad, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: irakli, Unassigned)

Details

It's very common in my experience to execute only some lines of code from scratchpad rather than all. There is execute selection which is what I use all the time, but keep selecting is really, really annoying. I think there needs to be a notion of execution sections that developer can create and then just have a way to execute only those sections. For example see interactivate http://jeditoolkit.com/interactivate/demo/ It lest you define execution sections via `\n// =>` comment which I find super useful since it's very easy to put these comments in the code buffer and then just execute sections that is currently active (has a cursor in). Sections should probably be visually indicated as well. I would also suggest optional live section re-execution that I really enjoy in interactivate & since sections are explicitly separated by comments it's just matter of re-evaluating section source after little inactivity.
OS: Mac OS X → All
Priority: -- → P3
Hardware: x86 → All
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.