Skip to content

No IntelliSense for single file.  #11260

@waderyan

Description

@waderyan
  • VSCode Version: Insiders
  • OS Version: Mac

Related #11258

Steps to Reproduce:

  1. Create a new file person.js
  2. Add this code.
function Person(name, age) {
    this.name = name;
    this.age = age;
}

var p = new Person()

I expect to see IntelliSense or even word completion, but I am not.

image

I see this when logging tsserver output.

image

Others in the office cannot reproduce this. I can reproduce it on my machine multiple times. I have also observed this starting to work after a time and also IntelliSense will stop working after a time.

It seemed like the problem was with TypeScript Language Service. I tried the following:

  1. Restarted VS Code - still not resolved
  2. Killing tsserver.js process - still not resolved, although I did confirm the process restarted.
  3. I updated TypeScript to RC with npm install -g typescript@rc. Did not solve the issue.
  4. I looked in Console.app on the mac to see any errors logged.

What other ways can I try and debug this?
Is there a way to see the error logs for Electron?
Do we think this is a TypeScript Language Service issue?

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from posterjavascriptJavaScript support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions