microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.21k stars 29.29k forks source link

Text color issue #224116

Closed parthiv-huptech closed 3 months ago

parthiv-huptech commented 3 months ago

Type: Performance Issue

My Visual code editor doesn't pop the text color properly. If I open the php or js file the whole file opens in white color, and if I open the same file on another system it shows properly there, can anyone help me fix that issue?

VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)| |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| |Load (avg)|undefined| |Memory (System)|15.79GB (8.55GB free)| |Process Argv|C:\\xampp\\htdocs\\dahrtours --crash-reporter-id 8355db0a-7bc0-4808-b2a6-d477d5921030| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 117 10184 code main 0 167 1480 gpu-process 0 41 4152 utility-network-service 0 29 5976 crashpad-handler 0 83 7140 fileWatcher [1] 0 115 8688 shared-process 0 99 8984 window [2] (Issue Reporter) 0 211 12188 extensionHost [1] 0 102 620 "C:\Users\Hey!\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\Hey!\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=12188 0 87 10228 "C:\Users\Hey!\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\Hey!\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=12188 0 110 15916 "C:\Users\Hey!\AppData\Local\Programs\Microsoft VS Code\Code.exe" c:\Users\Hey!\.vscode\extensions\streetsidesoftware.code-spell-checker-3.0.1\packages\_server\dist\main.cjs --node-ipc --clientProcessId=12188 0 354 12524 window [1] (customer-dashboard.php - dahrtours - Visual Studio Code) ```
Workspace Info ``` | Window (customer-dashboard.php - dahrtours - Visual Studio Code) | Folder (dahrtours): 2385 files | File types: pdf(547) jpeg(496) jpg(429) php(325) jfif(126) png(95) | JPG(45) PNG(44) map(29) docx(24) | Conf files: github-actions(3); ```
Extensions (42) Extension|Author (truncated)|Version ---|---|--- vscode-languagetool|ada|3.8.0 vscode-languagetool-en|ada|3.8.0 vscode-css-formatter|aes|1.0.2 Bookmarks|ale|13.5.0 blackbox|Bla|1.3.68 htmltagwrap|bra|1.0.0 doxdocgen|csc|1.4.0 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|15.2.3 vscode-html-css|ecm|2.0.10 figma-vscode-extension|fig|0.3.5 code-runner|for|0.12.2 html-snippets|gey|0.2.3 cors|gs3|0.4.2 ftp-simple|hum|0.7.6 vscode-picture|Jak|1.0.0 better-cpp-syntax|jef|1.27.1 tag-inserter|l7s|1.4.0 quickstart|lol|0.1.0 remote-containers|ms-|0.375.1 remote-ssh|ms-|0.112.0 remote-wsl|ms-|0.88.2 cmake-tools|ms-|1.18.43 cpptools|ms-|1.21.4 cpptools-extension-pack|ms-|1.3.0 remote-explorer|ms-|0.4.3 vscode-phpcbf|per|0.0.8 material-icon-theme|PKi|5.8.0 format-html-in-php|rif|1.7.0 LiveServer|rit|5.7.9 html5-boilerplate|sid|1.1.1 shopify-liquid|sis|4.0.1 vscode-zipexplorer|sle|0.3.1 code-spell-checker|str|3.0.1 ejs-snippets|Tao|0.1.0 open-in-browser|tec|2.0.0 pdf|tom|1.2.2 cmake|twx|0.0.17 highlight-matching-tag|vin|0.11.0 HTML5-extension-pack|wal|1.0.0 wordpress-toolbox|wor|1.3.15 JavaScriptSnippets|xab|1.8.0 (2 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 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 bdiig495:31013172 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 impr_priority:31102340 refactorc:31101458 ccplt:31103426 pythonrstrctxt:31103193 ```
connor4312 commented 3 months ago

Does this issue reproduce if you change to another color theme via the Preferences: Color Theme command?

parthiv-huptech commented 3 months ago

Does this issue reproduce if you change to another color theme via the Preferences: Color Theme command?

Yes

connor4312 commented 3 months ago

/gifPlease so we can see what you're seeing

vscodenpa commented 3 months ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

Happy coding!

parthiv-huptech commented 3 months ago

2024-07-30_10h08_09.mp4 https://drive.google.com/file/d/1VQPezitcxBTMjusGbaxVoNh8DjxDCiUX/view?usp=drive_web Please have a look this.

On Mon, Jul 29, 2024 at 7:38 PM VSCode Triage Bot @.***> wrote:

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

Happy coding!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/224116#issuecomment-2256047011, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFMEPUM3HI2CXDX76KHAI7DZOZEFTAVCNFSM6AAAAABLSSNZRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGA2DOMBRGE . You are receiving this because you modified the open/close state.Message ID: @.***>

connor4312 commented 3 months ago

It doesn't look like that link allows the public to access, please update its sharing settings, thanks!

parthiv-huptech commented 3 months ago

please check this, https://drive.google.com/file/d/1VQPezitcxBTMjusGbaxVoNh8DjxDCiUX/view?usp=sharing

On Tue, Jul 30, 2024 at 8:50 PM Connor Peet @.***> wrote:

It doesn't look like that link allows the public to access, please update its sharing settings, thanks!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/224116#issuecomment-2258610040, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFMEPUO7G2GOTAJC2YI7F23ZO6VK7AVCNFSM6AAAAABLSSNZRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYGYYTAMBUGA . You are receiving this because you modified the open/close state.Message ID: @.***>

connor4312 commented 3 months ago

Giving this to you Rob since it's PHP but this looks like it might be more general stuff or semantic tokenization being slow

roblourens commented 3 months ago

There are some syntax highlighting issues with certain PHP patterns, see https://github.com/KapitanOczywisty/language-php/issues. If you can reduce the problem to a simpler file we can see whether this is a known issue.

vs-code-engineering[bot] commented 3 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!