1

I'm genuinely confused and have no idea how this happened.

If I try to set the language to Python in a file, the option doesn't appear When searching Python in the "Select a Language" prompt, nothing appears

Python files have the plain text icon and there is no syntax highlighting in files Python files have a plain text icon and no syntax highlighting

I didn't modify anything related to VS Code. All I remember doing was uninstalling and reinstalling my Python 3.8.10 installation as it was originally 32 bit so I updated it to 64 bit.

Any one know how to solve this? Any help is appreciated.

1
  • 1
    Check the path Visual Studio Code is looking for within its settings
    – Ramhound
    Commented Oct 23, 2021 at 1:06

1 Answer 1

0

Go to your extension manager (ctrl+shift+x) search for Python and make sure the official Python extension is installed.

Also be sure that you have python added to Windows PATH

How to add Python to Windows PATH: https://datatofish.com/add-python-to-windows-path

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .