Skip to content

No intellisense in VSCode #10366

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

Closed
Seikho opened this issue Aug 16, 2016 · 3 comments
Closed

No intellisense in VSCode #10366

Seikho opened this issue Aug 16, 2016 · 3 comments
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@Seikho
Copy link

Seikho commented Aug 16, 2016

Not that I think it matters, but currently using VSCode 1.4. This behaviour does not occur in [email protected].

TypeScript Version: nightly 2.1.0-dev.20160813 onwards

Code

// Clone my demo repo then skip to 'Terminal' steps or manually re-create it
git clone https://github.com/seikho/intellisense-repro

// .vscode/settings.json
{
    "typescript.tsdk": "node_modules/typescript/lib"
}

// tsconfig.json
{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5"
    },
    "exclude": [
        "node_modules"
    ]
}

// package.json
{
  "main": "index.js",
  "devDependencies": {
    "@types/node": "^6.0.34",
    "typescript": "^2.1.0-dev.20160816"
  }
}

// index.ts
const foo = 1;
foo;

// Terminal
npm install
code .

// Mouse
Hover things

Expected behavior:
Glorious intellisense

Actual behavior:
No intellisense 😢

Removing the tsconfig.json works around the issue.

@Seikho
Copy link
Author

Seikho commented Aug 16, 2016

Seems to be a regression in b988bc9. Works fine prior to this commit.

@Seikho
Copy link
Author

Seikho commented Aug 16, 2016

In particular, these changes

@aluanhaddad
Copy link
Contributor

I have tested this with 2.1.0-dev.20160813 through 2.1.0-dev.20160816 and am experiencing the same issue.

@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Aug 16, 2016
@RyanCavanaugh RyanCavanaugh added this to the TypeScript 2.0.1 milestone Aug 16, 2016
@RyanCavanaugh RyanCavanaugh assigned ghost Aug 16, 2016
@ghost ghost closed this as completed in #10376 Aug 17, 2016
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Aug 17, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This issue was closed.
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

4 participants