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

interllisence does not work in some project #86807

Closed
baiyunshenghaishang opened this issue Dec 12, 2019 · 12 comments
Closed

interllisence does not work in some project #86807

baiyunshenghaishang opened this issue Dec 12, 2019 · 12 comments
Assignees
Labels
javascript JavaScript support issues upstream-issue-fixed The underlying upstream issue has been fixed

Comments

@baiyunshenghaishang
Copy link

  • VSCode Version: 1.40.2
  • OS Version: win10

Steps to Reproduce:

  1. open a big project and a js file
  2. status bar shows "Initializing JS/TS language features". this took one or two minutes. interllisence does not work during the time and after finished. sometimes it works again several minutes later.
    and interllisence works well in another small project except for 'Initializing JS/TS language features' period

I am not sure if this is a bug. any suggestion would be great.

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot added the javascript JavaScript support issues label Dec 12, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Dec 12, 2019

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

@mjbvz mjbvz added the info-needed Issue requires more information from poster label Dec 12, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Dec 12, 2019

Also, can you share the project?

@baiyunshenghaishang
Copy link
Author

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

yes. I can reproduce in version 1.41.0 with all extensions disabled

@baiyunshenghaishang
Copy link
Author

Also, can you share the project?

I am afraid not. this is a business project.
this is a react project and a little big(20M without node_modules)。I don't know what to describe

@baiyunshenghaishang
Copy link
Author

it fails again in another vue project. But still works well in my test project. Feeling so bad...

@baiyunshenghaishang
Copy link
Author

Maybe I found the problem.
Intelligence fails when a jsconfig.json in project root dir. Even this file is empty. and "Initializing JS/TS language features" would take much more time.
everything works well when I remove this file

@baiyunshenghaishang
Copy link
Author

another vue project failed because of "package.json"

@mjbvz
Copy link
Collaborator

mjbvz commented Dec 16, 2019

@baiyunshenghaishang Does this only happen in Vue projects? If so, you should probably file this against the Vue extension instead

@baiyunshenghaishang
Copy link
Author

@baiyunshenghaishang Does this only happen in Vue projects? If so, you should probably file this against the Vue extension instead

No. A react project failed because of jsconfig.json existed.
Interlligence failed after I disabled all extensions. It work again after I delete the jsconfig.json file.
This only exist in windows. Mac works well in same project with all extensions enabled.

@mjbvz
Copy link
Collaborator

mjbvz commented Dec 20, 2019

@baiyunshenghaishang Is your code stored on a separate letter drive, such as D: or Z:?

@baiyunshenghaishang
Copy link
Author

@baiyunshenghaishang Is your code stored on a separate letter drive, such as D: or Z:?

Yes.

@mjbvz
Copy link
Collaborator

mjbvz commented Dec 30, 2019

Duplicate of microsoft/TypeScript#35512

@mjbvz mjbvz marked this as a duplicate of microsoft/TypeScript#35512 Dec 30, 2019
@mjbvz mjbvz closed this as completed Dec 30, 2019
@mjbvz mjbvz added upstream-issue-fixed The underlying upstream issue has been fixed and removed info-needed Issue requires more information from poster labels Dec 30, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues upstream-issue-fixed The underlying upstream issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants