microsoft / vscode

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

ERROR FOR COLORS #209773

Closed krishachikka closed 5 months ago

krishachikka commented 5 months ago

Type: Bug

i cant have the color picker when hovered

VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z) OS version: Windows_NT x64 10.0.22621 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| |Load (avg)|undefined| |Memory (System)|7.69GB (0.56GB free)| |Process Argv|--crash-reporter-id 0416698f-f75e-440c-88a5-1810f3d70613| |Screen Reader|no| |VM|0%|
Extensions (32) Extension|Author (truncated)|Version ---|---|--- flutter-snippets|ale|3.0.0 vscode-color|ans|0.4.5 vscode-intelephense-client|bme|1.10.4 bracket-pair-color-dlw|Bra|0.0.6 vscode-tailwindcss|bra|0.10.5 c-cpp-compile-run|dan|1.0.58 dart-code|Dar|3.86.0 flutter|Dar|3.86.0 auto-rename-tag|for|0.1.10 node-module-intellisense|lei|1.5.0 vscode-language-babel|mgm|0.0.40 vscode-exec-node|mir|0.5.6 debugpy|ms-|2024.4.0 python|ms-|2024.4.0 vscode-pylance|ms-|2024.4.1 cmake-tools|ms-|1.17.17 cpptools|ms-|1.19.9 cpptools-extension-pack|ms-|1.3.0 nodejs-snippets|piy|0.0.2 vscode-thunder-client|ran|2.20.3 java|red|1.29.0 LiveServer|rit|5.7.9 es7-react-js-snippets|rod|1.9.3 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-java-debug|vsc|0.57.0 vscode-java-dependency|vsc|0.23.6 vscode-java-pack|vsc|0.26.0 vscode-java-test|vsc|0.41.0 vscode-maven|vsc|0.44.0 JavaScriptSnippets|xab|1.8.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 ccp1r6:30993540 dsvsc020:30976470 pythonait:31006305 gee8j676:31009558 dsvsc021:30996838 g1icg217:30999571 ```
IllusionMH commented 5 months ago

/confirmPlease

VSCodeTriageBot commented 5 months ago

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.

Happy Coding!

aiday-mar commented 5 months ago

Hi I suppose you mean that when you hover on the color decorator, you no longer see the color picker in a hover. Could you please let me know what the value of your setting editor.colorDecoratorsActivatedOn is ?

VSCodeTriageBot commented 5 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!

krishachikka commented 4 months ago

thank you, but this error occurs only while working on specific type of frameworks

aiday-mar commented 4 months ago

Hi @krishachikka what do you mean by that? What framework are you using and do you have any extensions installed you think that could be causing this error?

krishachikka commented 4 months ago

HI @aiday-mar , when I use html ,css the color picker works fine, but when I use tailwindcss for react js it doesn't even show the color for the color code I entered. And I have not installed any unnecessary extensions that would cause this.

IllusionMH commented 4 months ago

VS Code doesn't support tailwind out of the box, so won't provide color picker if it's in some custom syntax/place. This feature should be provided by an extension, same as other tailwind specific features.