skip to Main Content

when im running a code in python, for ex hello world. its take 10-12 sec. its too long, ive deleted vscode and download it again, but still same. and the files too its still same. idk how to fix it. im not using it for a months, before was good.

(edit: its fixed now. I’ve just deleted python that I used from microsfoft store. and then I download it again in python org, then change interpreter.)

ive deleted vscode and then download it, and im deleted all files vscode but still

2

Answers


  1. Can I see the code you are running so I can help?

    Login or Signup to reply.
  2. When this same problem occured in my friend’s laptop, these were the 2 things that worked like magic:

    1. Check for problematic extensions:

      • Some extensions may slow down the performance of Visual Studio Code. Try disabling or uninstalling extensions that you don’t need or suspect might be causing the slowdown.
      • One specific extension that has been reported to cause startup issues is vscode-colorize. If you have this extension installed, try disabling or uninstalling it to see if it improves the performance.
    2. Optimize Visual Studio Code settings:

      • Disable the restoration of the project state on startup: This can speed up the loading time of projects. Set "workbench.startupEditor": "none" in your settings to prevent any editor from appearing on startup.
      • Disable all extensions for a session: You can start Visual Studio Code with all user extensions disabled from the command-line using code --disable-extensions. This can help identify if an extension is causing the slowdown.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search