M
M
Michael2017-01-26 18:53:42
Node.js
Michael, 2017-01-26 18:53:42

How to setup node.js + typescript autocompletion for atom?

I am writing code in a bunch of typescript + node.js in an atom. Installed atom- ternjs . And in .js files, autocompletion for node.js methods works, but in .ts files, the same autocompletion for node does not work. Although I read the documentation for the plugin. Config file is like this:

{
  "ecmaVersion": 6,
  "libs": [
    "browser"
  ],
  "loadEagerly": [
    "**/*.js",
    "**/*.ts"
  ],
  "plugins": {
    "complete_strings": {
      "maxLength": 15
    },
    "node": {},
    "doc_comment": {
      "fullDocs": true,
      "strong": true
    }
  }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question