Skip to content

No intellisense in VSCode #10366

Closed
Closed
@Seikho

Description

@Seikho

Not that I think it matters, but currently using VSCode 1.4. This behaviour does not occur in typescript@2.1.0-dev.20160812.

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.

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