microsoft / vscode

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

Strange behavior on html indent line color #191232

Open StephaneAdeso opened 1 year ago

StephaneAdeso commented 1 year ago

Type: Bug

I am developing a theme pack for vscode. I have noticed that the indent lines have a strange behavior in the html. In other languages they work fine. I have disabled all extensions and it still happens.

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.79GB (18.11GB free)| |Process Argv|--crash-reporter-id ccedd11e-cbe3-4aab-835a-b81d8cc295d7| |Screen Reader|no| |VM|0%|
Extensions (37) Extension|Author (truncated)|Version ---|---|--- codesnap|adp|1.3.4 tsl-problem-matcher|amo|0.6.2 ng-template|Ang|16.1.8 cssrem|cip|3.1.0 vscode-eslint|dba|2.4.2 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|14.2.1 prettier-vscode|esb|10.1.0 todo-tree|Gru|0.0.226 ionic|Ion|1.49.0 Angular2|joh|16.0.1 vscode-peacock|joh|4.2.2 vscode-colorize|kam|0.11.1 git-graph|mhu|1.30.0 isort|ms-|2023.10.1 python|ms-|2023.14.0 vscode-pylance|ms-|2023.8.40 live-server|ms-|0.4.9 vsliveshare|ms-|1.0.5883 vscode-versionlens|pfl|1.5.2 vscode-thunder-client|ran|2.10.5 fabric8-analytics|red|0.3.10 java|red|1.21.0 vscode-xml|red|0.26.1 vscode-yaml|red|1.14.0 partial-diff|ryu|1.4.3 errorlens|use|3.13.0 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-java-debug|vsc|0.53.0 vscode-java-dependency|vsc|0.23.1 vscode-java-pack|vsc|0.25.13 vscode-java-test|vsc|0.39.1 vscode-maven|vsc|0.42.0 vscode-icons|vsc|12.5.0 JavaScriptSnippets|xab|1.8.0 markdown-all-in-one|yzh|3.5.1 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30803844 3biah626:30602489 89544117:30613380 a9j8j154:30646983 showlangstatbar:30737416 03d35959:30757346 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 gsofa:30804715 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 synctok:30815622 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30812749 ```

image

ArturoDent commented 1 year ago

That appears to be a non-active indent guide and so wouldn't be colored. Are you using the new colorCustomiztions:

    "editorIndentGuide.activeBackground1": "#ffc400",
    "editorIndentGuide.activeBackground2": "#ffc400",
    "editorIndentGuide.activeBackground3": "#ffc400",
    "editorIndentGuide.activeBackground4": "#ffc400",
    "editorIndentGuide.activeBackground5": "#ffc400",
    "editorIndentGuide.activeBackground6": "#ffc400",

    "editorIndentGuide.background1": "#ff0000",
    "editorIndentGuide.background2": "#ff0000",  // this one you are pointing to
    "editorIndentGuide.background3": "#ff0000",
    "editorIndentGuide.background4": "#ff0000",
    "editorIndentGuide.background5": "#ff0000",
    "editorIndentGuide.background6": "#ff0000",
hediet commented 1 year ago

This is because bracket and indent guides are exclusive at the moment.

StephaneAdeso commented 1 year ago

Still not working. image