angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

root tsconfig.json breaking atom-typescript on new project

Open scttcper opened this issue 9 years ago • 7 comments

Autocomplete and all inteli type features are broken in atom-typescript without the addition of an exclude in root tsconfig.json:

"exclude": ["node_modules"]

vscode seems fine. Could be related to https://github.com/TypeStrong/atom-typescript/issues/1106

OSX latest - atom 1.14.4 - atom-typescript 10.1.15

scttcper avatar Mar 06 '17 21:03 scttcper

Thanks ! I was experiencing the same issue and the exclude seems to optimize it for me! ^^

dave11mj avatar Mar 06 '17 22:03 dave11mj

Which version are you using?

There was an issue affecting VS Code as well in RC0, and it should be fixed in new projects generated by RC1, thanks to #5060 changes.

Meligy avatar Mar 06 '17 22:03 Meligy

I am using the following versions:

OS X El Capitan version 10.11.6
Angular Cli 1.0.0-rc.0
Atom 1.14.4
atom-typescript 10.1.13

dave11mj avatar Mar 06 '17 22:03 dave11mj

1.0.0-rc.1 what I have after adding the exclude

{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es5",
    "lib": [
      "es2016",
      "dom"
    ],
  },
  "exclude": ["node_modules"]
}

scttcper avatar Mar 06 '17 22:03 scttcper

There were more changes in RC2, check again in a new project please.

Meligy avatar Mar 16 '17 05:03 Meligy

Still not working without the exclude. Waiting for https://github.com/TypeStrong/atom-typescript/pull/1166 or people can install atom-typescript-beta (deactivate atom-typescript). Not really something angular-cli needs to solve since atom-typescript is what's wrong.

scttcper avatar Mar 16 '17 17:03 scttcper

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.