Python Forum
Visual studio code unable to color syntax on python interpreter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Visual studio code unable to color syntax on python interpreter
#1
Photo 
Os: windows 11
This problem happends after rolling back windows update

   
On the picture attachment ''python code syntax.png'' is my python script that they is no color on the code as usual and the auto complete is no longer working as well.

   
The ''js code syntax.png'' is my javascript code. It is colored fine whenever I select javascript as the interpreter on vs code.

So the point is that vs code works fine with other langueges but not working with python on the syntax color and auto completion
Reply
#2
You need to setup your extensions.
see: https://python-forum.io/thread-12237.htm...ght=VSCode
activate all extensions under install
Reply
#3
(Feb-27-2022, 10:08 AM)Larz60+ Wrote: You need to setup your extensions.
see: https://python-forum.io/thread-12237.htm...ght=VSCode
activate all extensions under install

Just installed all but nothing seems to work

also showing this error    
Reply
#4
(Feb-27-2022, 11:05 AM)tomtom Wrote: Just installed all but nothing seems to work
Look at.
Python error in VSCode :Sorry, something went wrong activating IntelliCode support for Python
I can also show my setup with some point.
They have changed so now is language interpreter down in right corner(there most find a interpreter eg Python 3.10).
[Image: w5jiWi.png]
Reply
#5
Thank you so much, what I later do is to uninstall the python extention and reinstall and it worked, so I think the windows downgrade is what crash the extension files
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Coding in Power BI Visual vjrans 0 272 Jan-31-2024, 07:54 AM
Last Post: vjrans
  Unable to understand the meaning of the line of code. jahuja73 0 303 Jan-23-2024, 05:09 AM
Last Post: jahuja73
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 995 Nov-15-2023, 06:56 PM
Last Post: jst
  Turtle Star Fill Color Yellow-White Interchanging Color Effect codelab 9 993 Oct-25-2023, 09:09 AM
Last Post: codelab
  How to set PYTHONPATH in Visual Studio Code? aupres 5 4,133 Aug-15-2023, 03:51 PM
Last Post: snippsat
  Syntax error while executing the Python code in Linux DivAsh 8 1,569 Jul-19-2023, 06:27 PM
Last Post: Lahearle
  how do I open two instances of visual studio code with the same folder? SuchUmami 3 881 Jun-26-2023, 09:40 AM
Last Post: snippsat
  Code is returning the incorrect values. syntax error 007sonic 6 1,206 Jun-19-2023, 03:35 AM
Last Post: 007sonic
  Visual Studio Code NewPi 3 1,043 May-16-2023, 11:13 PM
Last Post: snippsat
  color code doesn't work harryvl 1 886 Dec-29-2022, 08:59 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020