microsoft / vscode

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

Certain glyphs have a yellow box around them in code/.ipynb editor #227063

Closed p-i- closed 2 months ago

p-i- commented 2 months ago

Type: Bug

I enter α β γ δ ε ᐯ ᐱ ᐳ ᐸ into a .ipynb

Now α γ ᐯ ᐳ ᐸ have a yellow box around them, whereas β δ ε ᐱ do not.

I've verified on https://unicode-explorer.com/tools/decode/ that there are no hidden unicode symbols.

Note that my FontFamily is Monaco, 'Apple Color Emoji'

How could β escape unscathed while its neighbours α and γ are each smitten?

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Darwin arm64 23.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 (8 x 2400)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|3, 2, 3| |Memory (System)|24.00GB (3.76GB free)| |Process Argv|--crash-reporter-id f10d97cd-2115-4dba-a34a-07be9312995a| |Screen Reader|no| |VM|0%|
Extensions (21) Extension|Author (truncated)|Version ---|---|--- dvt-remote-ssh|ami|1.0.0 nestedtext|bma|2.0.0 githistory|don|0.6.20 copilot|Git|1.223.1072 copilot-chat|Git|0.19.2024073102 vsc-python-indent|Kev|1.18.0 rainbow-csv|mec|3.12.0 vscode-docker|ms-|1.29.2 debugpy|ms-|2024.10.0 python|ms-|2024.12.3 vscode-pylance|ms-|2024.8.2 jupyter|ms-|2024.7.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.19 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.380.0 remote-ssh|ms-|0.113.1 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.4.3 yaml-cloudformation-highlighter|paq|2.0.4 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 vscaac:30438847 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 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 jg8ic977:31013176 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-c:31111717 wkspc-ranged-c:31123312 ei213698:31121563 ```
p-i- commented 2 months ago
Screenshot 2024-08-29 at 11 04 26

PS I observe the problem ONLY in the code-editor and .ipynb editor. I've checked Terminal, DebugConsole, VariablesBrowser and Hover, and all are fine.

rzhao271 commented 2 months ago

I believe this has to do with the editor.unicodeHighlight.ambiguousCharacters setting.

vs-code-engineering[bot] commented 2 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!