atom-ternjs icon indicating copy to clipboard operation
atom-ternjs copied to clipboard

Provide autocomplete for certain modules

Open rushiiMachine opened this issue 5 years ago • 0 comments

I'm trying to get autocomplete for discord.js however with this config it doesn't work I assume the dontLoad overrides the loadEagerly however i dont want autocomplete for all the packages if its expensive

{
  "ecmaVersion": 8,
  "libs": [],
  "loadEagerly": [
    "node_modules/discord.js/src/index.js"
  ],
  "dontLoad": [
    "node_modules/**"
  ],
  "plugins": {
    "es_modules": {},
    "node": {},
    "doc_comment": {
      "fullDocs": true,
      "strong": true
    }
  }
}

Removing both paths in loadEagerly and dontLoad makes it work

rushiiMachine avatar Jul 16 '20 04:07 rushiiMachine