Closed timscott closed 11 years ago
I can confirm this - I have installed fresh sublime and added only this plugin. And its not working. Using sublime on Ubuntu 12.10 64bit.
Do you press Ctrl+Space
after you type a dot?
When I press ctrl
+space
my application launcher (Alfred) is activated. I was not able to figure out how to remap that. To no avail, I tried this:
{ "keys": ["super+ctrl+."], "command": "coffee_autocomplete" }
The documentation implies that the auto complete will automatically engage when the dot is typed. Under what conditions should we expect to have to use the manual key combination?
Just to reiterate, even when autocomplete appears, after I start typing, it does not really work. That is, it only offers built in JS methods.
Okay, I turned off Alfred, and ctrl
+space
now engages the autocomplete menu, and it does have my custom methods in it. So two questions:
I'm having the same problem. It works if I type cntrl
+ space
but according to the documentation it's supposed to bring up the contextual menu automatically after a .
or @
correct?
Welp, the settings to make this happen aren't being read in by Sublime Text, so I added a section to the README on how to configure this.
https://github.com/justinmahar/SublimeCSAutocompletePlus#customizing-autocomplete-trigger
It's an easy change. Let me know if that works for you all!
-Justin
Tim Scott: CoffeeComplete+ uses the default autocomplete key binding, which is ctrl+space. This is the same shortcut used for all autocompletions across the board (not just CoffeeComplete). You can change this by going to Preferences -> Key Bindings
and looking for "auto_complete"
. In my settings, I have:
{ "keys": ["ctrl+space"], "command": "auto_complete" },
You can change this shortcut to whatever you want. I suspect the other plugin you're using overwrites this shortcut.
Just to be clear, as of now, the plugin does not, by default, have autocomplete triggers for .
and @
. Go to the config section of the readme to set this up.
@justinmahar Perfect, got it. Thanks!
@justinmahar Thanks! got it working to.
I have installed CoffeeComplete Plus via Package Control. No errors. But nothing happens when I type a dot after a word. After I start typing, autocomplete starts but it's not offering anything beyond native Javascript methods. I tried the example from your docs, LavaLamp. When I type
this.c
I am not offeredcoolDown
for example. What could be wrong?