1

I'm looking for a good editor for CoffeeScript. What I want is syntax highlighting and auto indentation when a new line is entered, like IDLE for Python.

I've already tried the gedit-coffeescript plugin, but it does only syntax highlighting not the indentation formatting. I have not tried emacs, as I'm not comfortable with it.

I hope someone would know a good editor for writing CoffeeScript.

kiri
  • 28,246
  • 16
  • 81
  • 118
Saurav Kumar
  • 14,916

3 Answers3

2

CoffeeScript plugin for NetBeans

There is a CoffeeScript plugin for NetBeans, which should do what you want.

From the plugin page:

CoffeeScript editor features:

  • Just works!
    • (No need for Node.js)
  • Advanced syntax highlighting
  • Error checking by background compilation
    • (Rhino JavaScript engine is used to compile *.coffee files)
  • Autocompiling to a JavaScript file in the same directory
    • (Test it in a web browser right away)
  • Syntax highlighting and error checking in scripts
    • (HTML and PHP files)
  • Indentation & formatting, code folding
  • Option to use Node.js with coffee command for compiling. Supported platforms: Mac, Linux and new experimental support for Windows.
  • Cakefile project support

To install it, first you should install NetBeans:

  1. Navigate to the download page..
  2. Download the Java SE version.
  3. Make the downloaded file executable.
  4. Run the downloaded file and install by following the instructions.
  5. Run NetBeans.
  6. Install the "CoffeeScript Netbeans" plugin from ToolsPlugins.
kiri
  • 28,246
  • 16
  • 81
  • 118
  • Thanks for you reply. :) It would be good to get any light weight editor like IDLE. Definitely it will help others too. I'm sure you will revert with your answer. :) – Saurav Kumar Jan 17 '14 at 08:46
1

you can use sublime text editor, thats having Both synatx highlighting and as well as auto indentation also. you no need to use space.

Read this , you will get clear idea.

How do I install Sublime Text 2/3?

Hope that helps.

Raja G
  • 102,391
  • 106
  • 255
  • 328
  • You should mention that it's a paid for program, with free evaluation. – kiri Jan 17 '14 at 08:25
  • 1
    @minerz029 yes it is paid but you can work with the unregistered copy without any problem. It only ask you to buy time to time but never stops working with all its features. – sourav c. Jan 17 '14 at 08:30
  • Thanks for you answer. It would be good to point out the basics steps here, how to install it in Ubuntu. :) – Saurav Kumar Jan 17 '14 at 08:48
  • @SauravKumar we have huge answers for installing from our home site. please look my answer for the installation instructions. – Raja G Jan 17 '14 at 09:25
0

I suggest geany as it still an editor, not a huge IDE. It has syntax highlighting and auto indentation. And it is present in a standard ubuntu repo.

remort
  • 101
  • 1