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

Extension causes high cpu load #15

Closed
bestaps opened this issue May 30, 2020 · 3 comments
Closed

Extension causes high cpu load #15

bestaps opened this issue May 30, 2020 · 3 comments

Comments

@bestaps
Copy link

bestaps commented May 30, 2020

vscodeshift.material-ui-snippets-unresponsive.cpuprofile.txt

  • Issue Type: Performance
  • Extension Name: material-ui-snippets
  • Extension Version: 3.2.1
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.45.1

Extension is unresponsive. PFA, the cpu profile text file.

@jedwards1211
Copy link
Contributor

@prem48science have you tried turning off automatic imports in the extension settings?

This was reported in #14 and turning off automatic imports is the only solution until microsoft/vscode#97515 gets released.

@bestaps
Copy link
Author

bestaps commented May 31, 2020

yes, I did turn off automatic imports, and problem is resolved. seems the only option. thanks for the support.

@bestaps bestaps closed this as completed May 31, 2020
@jedwards1211
Copy link
Contributor

Okay now in version 3.3.0 there are also commands you can use to insert the snippets; the commands will add the missing imports but you shouldn't have the same performance problems as with the completions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants