Skip to content

TypeScript Intellisense very slow with some projects #7349

@AmrN

Description

@AmrN
  • VSCode Version: 1.2.0
  • OS Version: Ubuntu 14.04

I'm using angular2-webpack-starter, and after cloning the repo and doing an npm install typescript intellisense is extremely slow.
One thing I've noticed is that the exclude list paths in tsconfig.json are written like this:

{
  "exclude": [
    "./node_modules",
    "./typings/main.d.ts",
    "./typings/main"
  ]
}

But once I remove the dot slashes and restart VS Code things seem to be fixed and intellisense works fast:

{
  "exclude": [
    "node_modules",
    "typings/main.d.ts",
    "typings/main"
  ]
}

I've reported the issue PatrickJS/PatrickJS-starter#660 but it seems the problem lies with VS Code since I've tried Atom with its typescript plugin and it works properly with that starter by default.

Metadata

Metadata

Assignees

Labels

typescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions