-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Syntax Highlighting Error #179043
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
Comments
@Wang-Yile Can you provide a screen shot of the issue? |
@karthiknadig it should be text mate who is doing this. do you know which repo we need to transfer this issue to? |
@heejaechang It should be VS Code core repo. I will transfer. |
We get our Python syntax highlighting grammar from https://github.com/MagicStack/MagicPython. I've opened MagicStack/MagicPython#257 for this issue. |
alexr00
added
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
labels
Apr 11, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
Type: Bug
When I wrote a HTML text in VS Code with Python extension,
I found this line:
has some problems in highlighting syntax.
It expects red because it is in a read-only string.
But, in fact, it is green.
That means the extension thinks it is notes.
I am using Python 3.11.2 (64-bits)
This my code:
You should copy it into VS Code to see its effect.
Extension version: 2023.7.10901017
VS Code version: Code 1.77.0 (7f329fe, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: