-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to properly setup company-tern in JS mode? #4903
Comments
Getting tab to complete or indent depending on context is a mess in emacs. Some things depend on the value of My advice (and what I do) is to forget about fighting over tab key completion, and just bind something else to
so I can complete with Shift-Space. Ultimately I think there should be a conventional key binding for this in spacemacs, but in the meantime just pick one you like. You may also wish to set This is all just my opinion, there are other options including trying to beat the tab key into submission. I've tried that in the past and concluded it wasn't worth it, but your mileage may vary. |
Alright, I'll give that a try. I'm assuming having the company popup appear automatically would also be difficult? |
The company popup should appear automatically after typing at least |
Yah, it works perfectly in Lisp, even using tab. Actually, I was just trying again with Javascript and |
Any progress here? I'm trying to figure out how to use company tern myself and am stuck. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
When in a Javascript file, hitting tab to complete uses basic auto-completion instead of
company-tern
. I can run the company-tern command by typing it in which gives me the company-tern completion popup, but I'm not sure how to activate it by hitting tab. I haven't customized the JS layer at all.The text was updated successfully, but these errors were encountered: