4

Does anyone know how to (or if it is possible) to format coffeescript comments in Sublime?

1
  • 2
    Could you elaborate on what you mean by formatting comments? Commented Sep 7, 2012 at 18:06

1 Answer 1

6

I use the plugin CoffeeScript.tmbundle to provide CoffeeScript syntax highlighting in Sublime Text 2.

You can install this plugin to Sublime Text 2 by:

In Linux:

  1. cd ~/.config/sublime-text-2/Packages
  2. git clone git://github.com/jashkenas/coffee-script-tmbundle.git

(On Windows, its git clone C:\Users\<user>\AppData\Roaming\Sublime Text 2\Packages)

Result Screenshot: enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

The normal paragraph formatting functions appear to handle comments: Edit -> Wrap is clever enough to keep any comments intact and not wrap the program code in as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.