Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript Intellisense very slow with some projects #9019

Closed
dbaeumer opened this issue Jun 8, 2016 · 2 comments
Closed

TypeScript Intellisense very slow with some projects #9019

dbaeumer opened this issue Jun 8, 2016 · 2 comments
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@dbaeumer
Copy link
Member

dbaeumer commented Jun 8, 2016

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

@dbaeumer dbaeumer self-assigned this Jun 8, 2016
@mhegazy mhegazy added the Bug A bug in TypeScript label Jun 8, 2016
@mhegazy mhegazy assigned yuit and unassigned dbaeumer Jun 8, 2016
@mhegazy mhegazy added this to the TypeScript 2.0 milestone Jun 8, 2016
@mhegazy
Copy link
Contributor

mhegazy commented Jun 8, 2016

@yuit can you take a look. looks related to #8998

@yuit
Copy link
Contributor

yuit commented Jun 8, 2016

I believe it is the same issue as #8998. We used to not recognize relative path used in "exclude" or "outdir" (which get include in "exclude" property") the fix is in the master already (PR #9025)

@yuit yuit closed this as completed Jun 8, 2016
@yuit yuit added the Fixed A PR has been merged for this issue label Jun 8, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants