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

Extensions and suggestions stopped working #71998

Closed
MarioSamison opened this issue Apr 9, 2019 · 16 comments
Closed

Extensions and suggestions stopped working #71998

MarioSamison opened this issue Apr 9, 2019 · 16 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@MarioSamison
Copy link

After the last update of VS Code, all of our extensions such as automatic import replacement and typescript suggestions aren't working anymore. Also VS Code runs really slow.

@guiherzog
Copy link
Contributor

Several people are having the same issue. My temporary solution was to downgrade VSCode to 1.32.3.

@lewisflude
Copy link

I'm getting the same issue, was thinking it may have something to do with the version of TypeScript that the new VS Code ships with, as when I "select TypeScript version" to 3.3.333 it seems to be working more consistently. I could be wrong, however.

@MarioSamison
Copy link
Author

Yeah I did that too, but I still wanted to flag this issue for VS Code so they can look into it

@lewisflude
Copy link

lewisflude commented Apr 9, 2019

Doing an npm up caused my VS Code to go from 100% CPU usage to around 20%, and the issue is now solved for me (for now). I'll be keeping an eye out for any developments and I'll chime in if I discover any more info around the issue. I think one of the notable packages that needed upgrading was @types/styled-components. I believe this issue may be potentially related: DefinitelyTyped/DefinitelyTyped#34564.

To elaborate, I believe the issue was that I had all these @types type definitions that became outdated when VS Code updated it's internal version of TypeScript.

@mjbvz mjbvz self-assigned this Apr 9, 2019
@eclectic-coding
Copy link

For what is worth, @ #71863.
This is happening with several extensions. I did test in Linux/Ubuntu VM and the problem doesn't "seem" to exist there. However, it was running slow but since I have not used VSC in a Virtual Machine before, the speed could have been from the VM. It was inserting the snippets properly though.

@Updy-karim
Copy link

Is this the same us this issue you guys have encountered /Seen ?
#72037

@eclectic-coding
Copy link

No, that is a different issue

@will-stone
Copy link

@lewisflude upgraded @types/styled-components to 4.1.14 and pointed VSCode to use TS 3.3.3333 and all issues are gone. Thanks all.

@jdahdah
Copy link

jdahdah commented Apr 10, 2019

I can confirm that forcing VSCode (1.33.0) to use TypeScript 3.3.3333 has fixed the problems I was experiencing with the related issue r5n-labs/vscode-react-javascript-snippets#61.

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 10, 2019

Sounds like it could be #71886 but the description is too vague to tell. @MarioSamison please describe exactly what you are doing, what the expected behavior is, and what actually happens

Also test using latest VS Code insiders build

@mjbvz mjbvz added the info-needed Issue requires more information from poster label Apr 10, 2019
@MarioSamison
Copy link
Author

@mjbvz changing the typescript version to the workspace typescript version fixed everything for me. It seems like the new typescript version in VS Code collides with the typescript versions in the projects we're working on.

@eclectic-coding
Copy link

@MarioSamison In my case, I did not have typescript in my project, the version supplied in VS 1.33 was causing issues. I hope this is investigated before the next release.

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 12, 2019

@MarioSamison Can you please check to see if the new VS Code 1.33.1 release also fixed the issue for you

@polishedwp Typescript tooling also powers our javascript support

@arilenz
Copy link

arilenz commented Apr 15, 2019

@mjbvz I had the same issue as @MarioSamison in 1.33.0 release. Still have the same issue in 1.33.1

@eclectic-coding
Copy link

@mjbvz The problem is better, but not entirely fixed. It works but in significantly slower than previous versions. For now, I have downgraded Typescript used by VS.

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 17, 2019

Closing as duplicate of #71863 for original poster

@arilenz @polishedwp Please open new issues

@mjbvz mjbvz closed this as completed Apr 17, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

9 participants