These are chat archives for TypeStrong/atom-typescript

26th
Sep 2017
Century Guo
@guoshencheng
Sep 26 2017 03:03
hello all , i am fresh here. i am coding with atom but fresh to typescript, so i am going to use typescript-atom, but the autocomplete feature not work. the status bar show No project, i try to click it , it shows No tsconfig for current file, but i do add a tsconfig.json at directory
any one could help me ?
{
  "compilerOptions": {
    "target": "es5",
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": false,
    "isolatedModules": false,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "declaration": true,
    "declarationDir": "types",
    "noImplicitAny": false,
    "noImplicitUseStrict": true,
    "removeComments": true,
    "preserveConstEnums": true,
    "suppressImplicitAnyIndexErrors": true,
    "outDir": "lib",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2016",
      "dom"
    ],
    "strictNullChecks": true,
    "jsx": "preserve",
    "noUnusedParameters": true,
    "noUnusedLocals": true,
    "allowSyntheticDefaultImports": true
  },
  "filesGlob": [
      "**/*.ts"
  ],
  "exclude": [
    "node_modules",
    "es"
  ],
  "include": [
    "lib"
  ],
  "buildOnSave": false,
  "compileOnSave": false
}
here is my tsconfig.json
Century Guo
@guoshencheng
Sep 26 2017 03:31
sorry, it has been solved, i make a wrong include option. atom read this option but vscode not