RESOLVED FIXED 181607
Web Inspector: Support JSX (React) syntax highlighting
https://bugs.webkit.org/show_bug.cgi?id=181607
Summary Web Inspector: Support JSX (React) syntax highlighting
Joseph Pecoraro
Reported 2018-01-12 12:06:44 PST
Support JSX (React) syntax highlighting Common file extension: .jsx Common mime type: text/jsx CodeMirror has a mode for this that we can include.
Attachments
[IMAGE] JSX Before (388.04 KB, image/png)
2018-01-12 12:09 PST, Joseph Pecoraro
no flags
[IMAGE] JSX After (406.48 KB, image/png)
2018-01-12 12:09 PST, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (9.26 KB, patch)
2018-01-12 12:09 PST, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2018-01-12 12:07:17 PST
Joseph Pecoraro
Comment 2 2018-01-12 12:09:04 PST
Created attachment 331221 [details] [IMAGE] JSX Before
Joseph Pecoraro
Comment 3 2018-01-12 12:09:14 PST
Created attachment 331222 [details] [IMAGE] JSX After
Joseph Pecoraro
Comment 4 2018-01-12 12:09:35 PST
Created attachment 331223 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 5 2018-01-12 12:12:27 PST
Comment on attachment 331223 [details] [PATCH] Proposed Fix Hmm, the XHR fetched .jsx text/jsx files don't look syntax highlighted. Let me check on that.
Joseph Pecoraro
Comment 6 2018-01-12 12:15:01 PST
Comment on attachment 331223 [details] [PATCH] Proposed Fix Oh it does, I was just using the wrong browser window.
Blaze Burg
Comment 7 2018-01-12 12:19:51 PST
Comment on attachment 331223 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 8 2018-01-12 13:03:27 PST
Comment on attachment 331223 [details] [PATCH] Proposed Fix Clearing flags on attachment: 331223 Committed r226909: <https://trac.webkit.org/changeset/226909>
WebKit Commit Bot
Comment 9 2018-01-12 13:03:28 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.