You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editor name and version: Visual Studio Code 1.47.2
Platform: Windows 10 2004 (Build 19041.388)
Color scheme: Dark+
MagicPython version: None (Comes builtin in VS Code according to the README)
A sreenshot: Provided in the issue description below.
5-10 lines of surrounding code: N/A
The following description is copy pasted from an issue I accidentally opened in the VS Code python extension repo (#13047). I was referred to this repo from there.
Expected behaviour
The word file doesn't hold any special meaning in python as far as I know (I opened and interpreter typed file and got NameError).
That being the case I would expect it to be highlighted in the same ways as other variable names (which in my case is default color).
Actual behaviour
The word file is highlighted in light blue, the same as global python variables such as __name__ and __file__.
Steps to reproduce:
Create a new python file
Write the word file in it
The text was updated successfully, but these errors were encountered:
The following description is copy pasted from an issue I accidentally opened in the VS Code python extension repo (#13047). I was referred to this repo from there.
Expected behaviour
The word
file
doesn't hold any special meaning in python as far as I know (I opened and interpreter typedfile
and gotNameError
).That being the case I would expect it to be highlighted in the same ways as other variable names (which in my case is default color).
Actual behaviour
The word
file
is highlighted in light blue, the same as global python variables such as__name__
and__file__
.Steps to reproduce:
file
in itThe text was updated successfully, but these errors were encountered: