My project structure is as follows:
https://i.sstatic.net/J9Pk4.png
The content of .tern-project is:
{
"ecmaVersion": 6,
"libs": [
"browser",
"jquery"
],
"loadEagerly": [
"/bower-components/d3/d3.js"
]
}
I attempted to change d3.js to d3.min.js and completely remove the loadEagerly point from ternjs config, but it did not solve my issue.
The content of .gitignore is:
/bower_components
.tern-project
Hence, when I am writing 'd3' in logic.js, it does not appear in the suggestions list. I am unsure of what mistake I may be making. Despite having all necessary Atom packages installed (autocomplete-plus, ternjs), autocomplete only works for files within the project, not for bower components like d3.
https://i.sstatic.net/DvuAs.png
When attempting to write 'd3', there are no suggestions, similarly for calling the 'enter' method.