Closed xingheng closed 4 years ago
Can you provide a screenshot of the issue? I am not seeing this
Also, please use our bug template when filing issues. It will be easier for us to reproduce the problem and diagnose.
We don't control syntax highlighting for Python files. That comes from VS Code which gets it from MagicPython. It's best to report an issue there (although based on our experiments the highlighting is working; might it be your theme doesn't colour it?).
After disabling and re-enabling the MagicPython
extension, the highlight gets back. However, restarting the VSCode application doesn't work when opening the python file, the highlight doesn't get back until re-enabling the MagicPython extension.
Besides, switching the color theme to other Light (Visual Studio)
doesn't work, either.
Extension | Author (truncated) | Version |
---|---|---|
vscode-django | bat | 0.19.0 |
better-toml | bun | 0.3.2 |
path-intellisense | chr | 1.4.2 |
python-snippets | cst | 0.2.0 |
vscode-markdownlint | Dav | 0.33.0 |
python-extension-pack | don | 1.6.0 |
code-runner | for | 0.9.15 |
gc-excelviewer | Gra | 2.1.32 |
Python-autopep8 | him | 1.0.2 |
beautify | Hoo | 1.5.0 |
rest-client | hum | 0.23.1 |
java-properties | ith | 0.0.2 |
kite | kit | 0.102.0 |
MagicPython | mag | 1.1.0 |
markdown-shortcuts | mdi | 0.12.0 |
revealfileinfolder | Mol | 0.0.3 |
vscode-docker | ms- | 0.9.0 |
mssql | ms- | 1.8.0 |
python | ms- | 2020.1.58038 |
cpptools | ms- | 0.26.3 |
csharp | ms- | 1.21.9 |
Go | ms- | 0.12.0 |
ruby | reb | 0.26.0 |
code-settings-sync | Sha | 3.4.3 |
tabnine-vscode | Tab | 2.1.22 |
python | tht | 0.2.3 |
python-extended-snippets | tus | 0.0.1 |
vscodeintellicode | Vis | 1.2.4 |
vscode-icons | vsc | 9.7.0 |
vscode-wakatime | Wak | 2.2.1 |
jinja | who | 0.0.8 |
vscode-ruby | win | 0.26.0 |
markdown-all-in-one | yzh | 2.7.0 |
material-theme | zhu | 3.2.1 |
html-css-class-completion | Zig | 1.19.0 |
vscode-proto3 | zxh | 0.4.0 |
Issue Type: Bug
RT.
Extension version: 2020.1.58038 VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:57:51.166Z) OS version: Darwin x64 18.7.0
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz (4 x 2400)| |GPU Status|2d_canvas: enabledflash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|3, 4, 8| |Memory (System)|8.00GB (0.16GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|