Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom JavaScript Autocomplete

I'm new to Atom and JavaScript, Atom seems to be pretty good for web developing.

But to my best knowledge, it seems that there is no Atom package for enabling JavaScript autocomplete.

Does anyone know a package doing this or does Atom have a plan to support JavaScript autocomplete?

like image 268
coco_ Avatar asked Jun 20 '15 13:06

coco_


People also ask

How do I enable autocomplete in Atom?

If you want more options, in the Settings panel for the autocomplete-plus package you can toggle a setting to make autocomplete-plus look for text in all your open buffers rather than just the current file. The Autocomplete functionality is implemented in the autocomplete-plus package.

Does Atom have a JavaScript console?

atom-js-console packageA javascript console inside atom. It uses Babel stage-0 preset.

How do you autofill an HTML Atom?

Usage. Finally, press: alt + tab or, right click and do Run HTML Tag AutoComplete . You will also find it available under Packages in menubar.

How do I turn off autocomplete in Atom?

Here's how: Go to the Atom Settings: Atom > Preferences… Then uncheck the “Show Suggestions On Keystroke” checkbox: That's it!


1 Answers

Since JavaScript is loosely coupled, providing a working autocomplete solution is not as easy as for statically typed languages like Java. Your best bets with Atom are the following packages:

  • autocomplete-plus - this is now bundled with Atom as the default autocomplete provider
  • ternjs - this looks pretty good, but requires some configuration.

I suggest you give these a try.

like image 104
nwinkler Avatar answered Oct 11 '22 06:10

nwinkler