Problem with language javascript autocomplete!?


#1

hi when i use js file autocomplete not shown innerHTML()

document.getElementById("city").innerHTML

please help me!


#2

Once again, autocomplete-plus requires that you install providers for the specific languages you need support for. You can look through the list of autocomplete-plus providers to find the provider for the languages you need.


#3

i install atom-ternjs but dont show :sweat:


#4

please help me


#5

There is no such thing as innerHTML completion in atom. So the question is still very much Valid ! So let’s see:

  1. I installed atom-tern.js and he doesn’t recognize innerHTML command.
  2. I stored an object into a var " var outputDiv = document.getElementById(‘output’);" when using that var "outputDiv."
    no autocompletion is triggered even if it should have his default methods.

#6

This is quite easy to fix, but not really obvious how to do it :slight_smile: Here are the steps:

  1. Install autocomplete-plus
  2. Install atom-ternjs
  3. Create or open any js file in your project
  4. Packages -> Atom Ternjs -> Configure Project
    5 Enable below libs the item browser
  5. Click on “Save and Restart Server”