Why is Brackets's baked in JS autocomplete superior to Atom + TernJs?


#1

they are basically the same thing under the hood. and yet in atom i have install autocomplete plus + jump to definitions + ternjs and still it cannot intelligently complex object structures. even with the tern project boilerplate… not to mention it completely ignored the node modules packages.

what is your recipe to make it at least as good as brackets.io


#2

What exactly are you trying to accomplish?


#3

normal dev work in javascript. in that case, i had an ampersand.js project with some object extended. brackets knew exactly what to show after the dot. atom, not so much.


#4

This is very vague.

i had an ampersand.js project with some object extended. brackets knew exactly what to show after the dot. atom, not so much.

There are packages to add autocomplete support for specific frameworks, like this one for Vue, but there doesn’t seem to be one for Ampersand. If you are interested in providing a list of the snippets you require, it wouldn’t be hard for someone with a bit of Atom experience to whip up a provider.


#5

normal dev work means no specific framework - as in iife, objects, classes…

changing provider type to FUZZY somehow helped yield an auto completion after the dot.

but not even close to webstorm’s static analysis