Skip to content

TypeScript Intellisense very slow with some projects #9019

Closed
@dbaeumer

Description

@dbaeumer

From @AmrN on June 7, 2016 19:19

  • 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.

Copied from original issue: microsoft/vscode#7349

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions