Closed Bug 1211397 Opened 9 years ago Closed 5 years ago

ClojureScript has no syntax highlight

Categories

(DevTools :: Source Editor, defect, P3)

43 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1513608

People

(Reporter: zilvinas.urbon, Assigned: gl)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151004004023

Steps to reproduce:

Went to website that uses ClojureScript and has source maps for it. For example: http://clojurescriptkoans.com/

Opened Dev Tools  -> Debugger and located any of .cljs type of files.


Actual results:

Did not see any syntax highlights for any of the ClojureScript files.


Expected results:

Should have syntax highlight colors, since CodeMirror supports them and afaik Debugger uses CodeMirror for syntax highlights.
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: JavaScript Engine → Developer Tools: Debugger
Product: Core → Firefox
Product: Firefox → DevTools
:gl, you helped implement :haxe, could you let me know if this is enable or help provide :clojurescript support?
Flags: needinfo?(gl)
clojurescript is currently not part of our codemirror bundle. I can add it in the next time we upgrade CodeMirror.

In the meantime, can you also figure out any outstanding modes that we should add and we can do that all at once in the next upgrade of CodeMirror.
Assignee: nobody → gl
Severity: normal → minor
Status: NEW → ASSIGNED
Component: Debugger → Source Editor
Flags: needinfo?(gl) → needinfo?(dwalsh)
Priority: -- → P3
I just reviewed our issue list and Clojurescript is the last request at this time.
Flags: needinfo?(dwalsh)
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Attachment #9033061 - Flags: review?(gl)
Comment on attachment 9033061 [details] [diff] [review]
Bug-1211397-Include-CodeMirror-Clojure-mode-in-Webpack-bundle.patch

Review of attachment 9033061 [details] [diff] [review]:
-----------------------------------------------------------------

This requires a new webpack bundle as described in https://searchfox.org/mozilla-central/source/devtools/client/sourceeditor/README#12 unfortunately. I also know that the current webpack config is broken since the packages are now out of date so it's no longer trivial. I will carryover this patch in Bug 1513608 and mark this as a duplicate.
Attachment #9033061 - Flags: review?(gl)
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → DUPLICATE
Comment on attachment 9033061 [details] [diff] [review]
Bug-1211397-Include-CodeMirror-Clojure-mode-in-Webpack-bundle.patch

Clearing review as per Comment 6
Attachment #9033061 - Flags: review?(bgrinstead)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: