microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
100.92k stars 12.47k forks source link

vscode editor theme color mis-matching #60372

Closed balajin96 closed 2 days ago

balajin96 commented 1 week ago

Type: Bug

while coding i experienced color changes issue in Version: 1.94.2 (user setup). Image

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i5-1235U (12 x 2496)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|15.64GB (4.73GB free)| |Process Argv|--crash-reporter-id 26290557-c73d-483a-b07e-5704eadff8aa| |Screen Reader|no| |VM|0%|
Extensions (16) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.5.0 sidebar-markdown-notes|ass|1.2.0 vscode-tailwindcss|bra|0.12.11 turbo-console-log|Cha|2.10.4 package-json-upgrade|cod|3.1.0 githistory|don|0.6.20 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|15.6.2 auto-rename-tag|for|0.1.10 path-autocomplete|ion|1.25.0 git-graph|mhu|1.30.0 postman-for-vscode|Pos|1.3.0 vscode-xml|red|0.27.1 es7-react-js-snippets|rod|1.9.3 console-ninja|Wal|1.0.364 JavaScriptSnippets|xab|1.8.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 vscaac:30438847 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 724cj586:31013169 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31132770 wkspc-ranged-t:31151552 cf971741:31144450 defaultse:31146405 iacca1:31156133 notype1:31157159 5fd0e150:31155592 dwcopilotcf:31161678 iconenabled:31158251 ```
Steve-Mcl commented 1 week ago

Seeing this very often since updating to 1.94.x

Sometimes, scrolling the offending item out of view or re-opening the file resolves it.

This happens after editing and more commonly after pasting or accepting copilot suggestions.

Additional symptoms I see are CTRL+CLICK function become unusable (for many seconds) - possibly related to slow file parsing?

When it misbehaves

Image

How it should look

Image

Details

Version: 1.94.2 (user setup) Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427 Date: 2024-10-09T16:08:44.566Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631

hediet commented 1 week ago

This is a problem of semantic highlighting.

mjbvz commented 1 week ago

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

balajin96 commented 3 days ago

yes, even when i disabled all the extensions it is not working

balajin96 commented 3 days ago

For ur Reference @mjbvz

Type: Bug

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i5-1235U (12 x 2496)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|15.64GB (4.30GB free)| |Process Argv|--crash-reporter-id 26290557-c73d-483a-b07e-5704eadff8aa| |Screen Reader|no| |VM|0%|
Extensions: none
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 vscaac:30438847 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 724cj586:31013169 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl2:31139839 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31132770 wkspc-ranged-t:31151552 cf971741:31144450 iacca1:31156133 notype1:31157159 5fd0e150:31155592 dwcopilot:31164048 iconenabled:31158251 ```
mjbvz commented 3 days ago

Thanks for checking. Can you please follow this guide to collect the logs from the TypeScript server. This should help us track down what is going wrong

balajin96 commented 2 days ago

tsserver.log

Hi, @mjbvz i have uploaded the file. kindly check it.