ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
803 stars 54 forks source link

Can't get autocomplete working. #106

Open lawkai opened 8 years ago

lawkai commented 8 years ago

Hi, I have following the instruction and tried to install tern_for_sublime for Sublime Text 3 (Build 3083) under Mac OS X El Capitan. (Note: I have already installed Fix Mac Path). I am trying to develop nodejs with Sublime.

Couple things that I have notice. 1) Preferences -> Package Settings -> Tern -> Key Bindings Default opens an empty Tern.sublime-keymap. 2) Autocomplete does not work no matter what I did. I have even added tern_command under Preferences.sublime-settings but still no luck. I am sure that tern_for_sublime is running though because alt+. and alt+space are working fine.

Any help would be appreciated.

prokaktus commented 8 years ago

+1 to this issue. Key Bindings default is empty. Sublime 3083, OSX Yosemite.

Some observations: Sublime opens Tern.sublime-keymap, but repo contains Default.sublime-keymap with default settings.

marijnh commented 8 years ago

Tern does not bind its own key for completion, but hooks into the default completion (bound to alt-/, and activated by default as you type)

AlejandroBlanco commented 7 years ago

Same issue here. Autocomplete won't work. There's no specific view to apply to my js or jsx files to apply. Babel + official react snippets will show options for JSX elements, but will show no javascript elements. Both problem occurs on a clean Sublime Text 3 and on a ST3 with other plugins. I'm using Windows 7