Closed
Bug 274174
Opened 20 years ago
Closed 6 years ago
It should be easier to "pretty print" an entire JavaScript file
Categories
(Other Applications Graveyard :: Venkman JS Debugger, enhancement)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: Biesinger, Assigned: rginda)
Details
currently, when I click "Pretty print" in the context menu of a file tab, it seems to not do anything; only if I click function it will get prettyprinted.
| Assignee | ||
Comment 1•20 years ago
|
||
If you click pretty print while the __toplevel__ function is selected, it'll do the entire file. I think it formats nested functions all on one line, though. That's really a js engine problem though, as Venkman is just using the same disassembly code that function.toSource() uses.
| Reporter | ||
Comment 2•20 years ago
|
||
ah, hm, I didn't think of that. I expected clicking pretty print in the context menu of a file tab to immediately show me a prettyprint of the entire file, w/o clicking __toplevel__ (whose existance I didn't even knew)
Updated•18 years ago
|
Summary: "pretty print" should be usable on entire file → It should be easier to "pretty print" an entire JavaScript file
Comment 3•6 years ago
|
||
Component is obsolete so resolving bugs as INCOMPLETE
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Updated•6 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•