-
-
Notifications
You must be signed in to change notification settings - Fork 6
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 use coc-html for jquery #17
Comments
It has jquery support. |
what are the steps to make jquery work with coc-html? I did the steps above but there is no jquery autocomplete whatsoever. does it have to be a *.js file, or script inside *.html will work too? all my other languages are working, including javascript actually(by tsserver), but nothing happened to jquery yet. do I need install html language server somewhere or is it installed by Thanks, |
It should just work, but looks like it's broken for some reason. |
I have the same problem ;( |
if I have jquery installed via npm I can get jquery working(without coc-html actually) in js files, but for javascript embedded in html file there is no way to get autocompletion working. |
Fixed on coc-html@1.3.0 |
I notice jquery ts.d is included, I CocInstall coc-install and put the below to coc-settings:
However when I edit a html or js file I don't see jquery autocomplete, e.g.
$("li").
will have nothing shown on dropdown list after pressing TAB. I did not see any jQuery autocomplete(i.e. jQuery keywords) either.The text was updated successfully, but these errors were encountered: