WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
111191
Web Inspector: add Ace editor experiment
https://bugs.webkit.org/show_bug.cgi?id=111191
Summary
Web Inspector: add Ace editor experiment
Andrey Lushnikov
Reported
2013-03-01 09:49:05 PST
Add ace editor experiment.
Attachments
Patch
(684.66 KB, patch)
2013-03-01 10:00 PST
,
Andrey Lushnikov
no flags
Details
Formatted Diff
Diff
Patch
(682.04 KB, patch)
2013-03-01 10:04 PST
,
Andrey Lushnikov
no flags
Details
Formatted Diff
Diff
Patch
(682.17 KB, patch)
2013-03-01 10:39 PST
,
Andrey Lushnikov
no flags
Details
Formatted Diff
Diff
Patch
(682.05 KB, patch)
2013-03-04 01:29 PST
,
Andrey Lushnikov
no flags
Details
Formatted Diff
Diff
Patch
(683.89 KB, patch)
2013-03-04 01:48 PST
,
Andrey Lushnikov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Andrey Lushnikov
Comment 1
2013-03-01 10:00:32 PST
Created
attachment 190981
[details]
Patch
Andrey Lushnikov
Comment 2
2013-03-01 10:04:03 PST
Created
attachment 190982
[details]
Patch
Pavel Feldman
Comment 3
2013-03-01 10:12:26 PST
Comment on
attachment 190982
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=190982&action=review
Could you share the stats on how much bigger the front-end footprint will be? In absolute numbers as well as percentage. Raw, minified and zipped (chromium resources are zipped).
> Source/WebCore/inspector/front-end/AceTextEditor.js:48 > + this.element.style.height = "100%";
Please use CSS for styling.
> Source/WebCore/inspector/front-end/AceTextEditor.js:84 > + case "text/html": this._aceEditor.getSession().setMode("ace/mode/html"); break;
Do not indent case from switch.
Andrey Lushnikov
Comment 4
2013-03-01 10:39:10 PST
Created
attachment 190985
[details]
Patch
Andrey Lushnikov
Comment 5
2013-03-04 01:25:43 PST
Some stats on Ace disk usage: 1. Raw folder size of Ace files in this patch is 664Kb 2. If I were to put minified version of ace files, it would be 376Kb I estimated gzip size of devtools_resources.pak file. Without this patch: 824Kb With this patch: 956Kb So it brings in 132Kb of overhead.
Andrey Lushnikov
Comment 6
2013-03-04 01:29:56 PST
Created
attachment 191174
[details]
Patch
Pavel Feldman
Comment 7
2013-03-04 01:37:27 PST
Comment on
attachment 191174
[details]
Patch Please make sure you include original BSD LICENSE file.
Andrey Lushnikov
Comment 8
2013-03-04 01:48:54 PST
Created
attachment 191176
[details]
Patch
WebKit Review Bot
Comment 9
2013-03-04 03:47:51 PST
Comment on
attachment 191176
[details]
Patch Clearing flags on attachment: 191176 Committed
r144615
: <
http://trac.webkit.org/changeset/144615
>
WebKit Review Bot
Comment 10
2013-03-04 03:47:54 PST
All reviewed patches have been landed. Closing bug.
Fabian Jakobs
Comment 11
2013-03-14 01:59:29 PDT
Hi, I'm the author of ace and very excited to see it landing in Chrome. I have noticed a few glitches with this patch: - the breakpoint context menu does not work - I don't get syntax highlighting for css files If you prefer I can create separate issues for this.
Andrey Lushnikov
Comment 12
2013-03-15 05:52:14 PDT
Hi Fabian, First of all, thank you for your great project! We are aware of the bugs you've mentioned. We've added Ace editor as an experiment and it's not fully embedded into the devtools (that's the reason for the glitches you've mentioned). There's no decision yet if we would invest efforts in its adoption and use it as our primary code editor.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug