Skip to content

Instantly share code, notes, and snippets.

@cantino
Created March 8, 2010 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cantino/324780 to your computer and use it in GitHub Desktop.
Save cantino/324780 to your computer and use it in GitHub Desktop.
Partial CoffeeScript highlighting support for RubyMine
<?xml version="1.0" encoding="UTF-8"?>
<filetype binary="false" default_extension="" description="CoffeeScript" name="CoffeeScript">
<highlighting>
<options>
<option name="LINE_COMMENT" value="#" />
<option name="COMMENT_START" value="`" />
<option name="COMMENT_END" value="`" />
<option name="HEX_PREFIX" value="" />
<option name="NUM_POSTFIXES" value="" />
<option name="HAS_BRACKETS" value="true" />
<option name="HAS_BRACES" value="true" />
<option name="HAS_PARENS" value="true" />
<option name="HAS_STRING_ESCAPES" value="true" />
</options>
<keywords ignore_case="true">
<keyword name="and" />
<keyword name="break" />
<keyword name="catch" />
<keyword name="class" />
<keyword name="continue" />
<keyword name="else" />
<keyword name="extends" />
<keyword name="for" />
<keyword name="if" />
<keyword name="in" />
<keyword name="is" />
<keyword name="isnt" />
<keyword name="new" />
<keyword name="next" />
<keyword name="of" />
<keyword name="super" />
<keyword name="then" />
<keyword name="try" />
<keyword name="unless" />
<keyword name="when" />
<keyword name="while" />
</keywords>
<keywords2>
<keyword name="false" />
<keyword name="no" />
<keyword name="off" />
<keyword name="on" />
<keyword name="true" />
</keywords2>
<keywords3>
<keyword name="arguments" />
</keywords3>
<keywords4>
<keyword name="undefined" />
</keywords4>
</highlighting>
<extensionMap>
<mapping pattern="Cakefile" />
<mapping ext="coffee" />
</extensionMap>
</filetype>
@yeungda
Copy link

yeungda commented Apr 10, 2010

maybe you would be interested in trying coffeescript-idea. It's a plugin that does syntax highlighting. It was written for IntelliJ IDEA, but I think it will work in RubyMine too. Maybe you'd like to be the first to try it in RubyMine?

http://yeungda.github.com/coffeescript-idea/

dave

@cantino
Copy link
Author

cantino commented Apr 11, 2010

Thanks, I'll check it out!

@cantino
Copy link
Author

cantino commented Jul 23, 2010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment