microsoft / vscode

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

TypeScript and Javascript themes not working #166558

Closed DopamineDriven closed 1 year ago

DopamineDriven commented 1 year ago

Type: Bug

I am not entirely certain how this happened -- I've been using VScode for years and this has never happened. I even removed an older theme extension. I also tried starting vscode with all extensions disabled using the flag listed in the github issue template -- no dice. I simply restarted my computer and now the typescript and javascript files (99%+ of all of my projects) have half colored syntax that can't be modified by switching theme etc.. It seems like a bug under the hood

VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: No Remote OS version: Linux x64 5.15.74.2-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)| |GPU Status|2d_canvas: enabled
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| |Load (avg)|undefined| |Memory (System)|15.74GB (1.93GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu-20.04/home/dopaminedriven/takeda/virtual/turbo/headless-cms-team-exp-virtual-store-dev --remote=wsl+Ubuntu-20.04 --crash-reporter-id 7ae3219a-9a65-4a1e-bc76-635170553dfd| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 5.15.74.2-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)| |Memory (System)|7.63GB (5.55GB free)| |VM|0%|
Extensions (86) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 vscode-m3u|af4|1.0.0 vscode-prisma-raw-query-sql|Aku|0.0.1 vscode-styled-jsx|bla|2.1.1 ndjson-colorizer|bus|1.0.0 language-postcss|cpy|1.1.0 postcss|css|1.0.9 emoji-snippets|dev|1.5.3 apacheconf-snippets|eim|1.3.0 vscode-firefox-debug|fir|2.9.8 vscode-graphql-syntax|Gra|1.0.5 vscode-nginx-conf-hint|han|0.3.0 sanity-snippets|hdo|1.0.0 better-dockerfile-syntax|jef|1.0.2 vscode-position|jtr|1.1.2 vsc-python-indent|Kev|1.18.0 vscode-apache|mrm|1.2.0 remote-containers|ms-|0.262.3 remote-ssh|ms-|0.93.2022111515 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.72.0 vscode-remote-extensionpack|ms-|0.23.0 remote-explorer|ms-|0.1.2022103109 python-extended-snippets|tus|0.0.1 vscode-mdx|uni|1.0.3 vscode-icons|vsc|12.0.1 fontforge-vscode|xia|0.0.2 vscode-openapi|42C|4.15.9 nestjs-files|Abh|0.5.1 vscode-nginx-conf|ahm|0.1.3 bala-bks-docker-snippets|bal|0.1.3 vscode-linux-binary-preview|bet|2.4.0 shell-syntax|bma|1.0.3 vscode-tailwindcss|bra|0.9.1 gltf-vscode|ces|2.3.16 npm-intellisense|chr|1.4.2 vscode-github-actions|csc|0.24.4 vscode-redis-client|cwe|5.8.15 vscode-eslint|dba|2.2.6 docs-yaml|doc|0.2.9 sync-env|don|1.0.7 githistory|don|0.6.19 xml|Dot|2.5.1 gitlens|eam|13.0.4 EditorConfig|Edi|0.16.4 prettier-vscode|esb|9.9.0 code-runner|for|0.11.8 shell-format|fox|7.2.2 lintlens|ghm|6.0.0 vscode-pull-request-github|Git|0.54.1 go|gol|0.36.0 stylelint-plus|hex|0.56.6 yaml-plus-json|hil|1.11.0 rest-client|hum|0.25.1 vscode-postfix-ts|ipa|1.11.3 svg|joc|1.4.22 vscode-map-preview|jum|0.5.9 remotefs|lix|0.0.16 json-to-ts|Mar|1.7.5 template-string-converter|meg|0.6.0 vscode-docker|ms-|1.22.2 cpptools|ms-|1.12.4 vscode-typescript-next|ms-|5.0.20221116 gitpatch|par|0.2.1 vscode-yaml-sort|Pas|6.0.0 open-html-in-browser|pea|2.1.9 vscode-versionlens|pfl|1.0.10 gotestexplorer|pre|0.1.13 prisma|Pri|4.6.1 nginx-formatter|ray|0.0.13 vscode-commons|red|0.0.6 vscode-yaml|red|1.10.1 rust-analyzer|rus|0.4.1288 vs-code-prettier-eslint|rve|5.0.4 vscode-sanity|san|0.1.4 markdown-preview-enhanced|shd|0.6.5 mdx|sil|0.1.1 vscode-stylelint|sty|1.2.3 sass-indented|syl|1.8.22 pdf|tom|1.2.0 vscode-counter|uct|3.1.0 intellicode-api-usage-examples|Vis|0.2.6 vscodeintellicode|Vis|1.2.29 txt-syntax|xsh|0.2.1 vscode-mdx-preview|xyc|0.3.3 json|Zai|2.0.2 (3 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263cf:30335440 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 vscccc:30610679 pyindex848:30577860 nodejswelcome1cf:30587006 fc301958:30595537 2e4cg342:30602488 gswce1:30612156 iaj6b796:30613358 dbltrim-noruby:30604474 89544117:30613380 ```
DopamineDriven commented 1 year ago

image

CosmoMax10 commented 1 year ago

I'm having the same problem!

PaulSpaurgen commented 1 year ago

I am also facing the same issue

CosmoMax10 commented 1 year ago

i have the color theme on Dark+ but not working.

CosmoMax10 commented 1 year ago

hmm, is everyone having the same problem. it might be the VScode's bug?

DopamineDriven commented 1 year ago

image I think this might be the issue -- it was just committed 28 minutes ago and everything was fine an hour or two ago

Praczet commented 1 year ago

I have the same issue

mnlfischer commented 1 year ago

can confirm

hieupham2010 commented 1 year ago

hmm, is everyone having the same problem. it might be the VScode's bug?

I have the same problem.

jiang263 commented 1 year ago

I have the same problem

rhizodigital commented 1 year ago

Same here, from this morning.

rhizodigital commented 1 year ago

Same here VSCode mac

ghost commented 1 year ago

Same with MacOS

Air1996 commented 1 year ago

#166541 try that, it works for me

hieupham2010 commented 1 year ago

#166541 try that, it works for me

It works, thanks

CosmoMax10 commented 1 year ago

#166541 try that, it works for me

Thanks!!! disabling the extention worked for me!

Ayush-v commented 1 year ago

I am also facing the same issue

gjsjohnmurray commented 1 year ago

/duplicate - see https://github.com/microsoft/vscode/issues/166525#issuecomment-1317981911

vscodenpa commented 1 year ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!