Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

CoffeeScript Syntax Highlighting #6161

Closed
jakecraige opened this issue Dec 3, 2013 · 6 comments
Closed

CoffeeScript Syntax Highlighting #6161

jakecraige opened this issue Dec 3, 2013 · 6 comments

Comments

@jakecraige
Copy link

Is there any way we can get CoffeeScript syntax highlighting? It detects the file type but has almost no highlighting compared to other editors. I couldn't find any extension that adds any support for this.

Thanks!

@redmunds
Copy link
Contributor

redmunds commented Dec 3, 2013

@jakecraige Brackets relies on the syntax coloring implemented by CodeMirror. The code is in thirdparty/CodeMirror2/mode/coffeescript if you care to take a look. Please submit any issues or pull requests to the CodeMirror2 repo (https://github.com/marijnh/CodeMirror). Thanks.

@redmunds redmunds closed this as completed Dec 3, 2013
@peterflynn
Copy link
Member

Example here: http://codemirror.net/mode/coffeescript/

@zeffii
Copy link

zeffii commented Jan 21, 2014

yes, something will have to be done about this! : ]

@cooolbasha
Copy link

Comment is not working for coffeescript files

@peterflynn
Copy link
Member

@cooolbasha Yes, that's a known issue (#3057) -- the structure of CoffeeScript's comment stynax makes it unusually hard to support. See the very involved PR #3060 (which is not yet merged) for how complex this gets.

@njx
Copy link

njx commented May 19, 2014

@cooolbasha - CoffeeScript-style commenting was just implemented in master (see #3057), so should be fixed in Release 40. Let us know if it works for you when that build comes out in a few weeks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants