I’ve been using CoffeeScript for a few months now and one thing I’ve been missing like crazy is autocompletions. Real autocompletions.
Well, they’re finally here. Autocompletions for CoffeeScript. It’s called CoffeeComplete Plus, or CC+.
This isn’t your run-of-the-mill hard-coded autocompletion plugin. This plugin scans your coffee files and determines which methods and properties you have been defined, even adds tap stops for parameters, and displays them in a sexy list for you to pick and choose. It does a ton of other things, like hide “private” members prefixed with an underscore, supports built-in types like Array, Math and Object, allows for custom types like jQuery (which is provided out of the box), and supports type hinting for method return values, or for the times the plugin is stumped.
Autocomplete looks like this:
○ property1
○ propertyTwo
○ someOtherProperty
● methodOne()
● methodTwo(arg1, arg2)
● theLastMethod(arg1, arg2, arg3)
Ⱶ○ inheritedProperty1
Ⱶ○ inheritedPropertyTwo
Ⱶ● inheritedMethod1()
Ⱶ● inheritedMethod2(arg1, arg2)
It also has a Goto Definition feature that allows you to jump to any class, method or variable definition. Even between files. Hells yeah. (Do this using ctrl+alt+d, or holding ctrl+alt and clicking on the name in the code.)
It’s also highly configurable.
Check it out, play around with it, and let me know what you think.
You can view the README here: http://bit.ly/13wHIoS