-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Description
Type: Bug
After creating a new file (not saved, thus the file has no extension), enter 25 empty lines, then enter some Chinese in the first and 10th lines, the Chinese sequence is like: "${some Chinese}${Chinese semicolon}${some other Chinese}" (Note that it is not an English semicolon) , VS Code will automatically identify the programming language as 'docker', which is very wrong, because there is no English semicolon and comma in the entire text, which does not conform to the docker syntax at all.
In addition to the Chinese semicolon that lead to identification as Docker language, Chinese comma will often be recognized as INI language. This error occurs so often, that I frequently want to smash the computer. Most of the time, I just write a note, I don't need any grammar correction and highlight at all.
VS Code version: Code 1.76.0 (92da948, 2023-03-01T10:22:44.506Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592) |
| 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) | 31.76GB (9.99GB free) |
| Process Argv | --crash-reporter-id 72a97d7a-0980-4276-8b2a-fbc1b7aac086 |
| Screen Reader | no |
| VM | 0% |
Extensions (1)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-language-pack-zh-hans | MS- | 1.76.2023030109 |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewvextcfv2:30669238
azure-dev_surveyone:30548225
pyindex848:30662994
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30672706
vsccsb:30677849
vscodedisable:30660115
funwalk2:30676043
pythonms35:30680984