Skip to content

Language identifiers are sometimes string[] and not string #147284

@mahish

Description

@mahish

Issue Type: Bug

The issue does happen in single project only. I cannot identify since when it is happening (whether the last vscode update or some extension install) but it worked with any problems for several months until last week or two. Developer tools returns an error on opening the "Go to file" dialog as well as for any subsequent keystrokes within the dialog. The returned error message: C.replace is not a function: TypeError: C.replace is not a function vscode

See short video here https://gyazo.com/7243dcc3b71a9348496d0543bb0480ea

I tried to disable the most recently installed extensions (mostly related to container development). Restarted vscode. Neither has helped.

Thanks.

VS Code version: Code 1.66.1 (Universal) (8dfae7a, 2022-04-06T14:49:47.400Z)
OS version: Darwin arm64 21.4.0
Restricted Mode: No

System Info
Item Value
CPUs Apple M1 Pro (8 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 32.00GB (0.90GB free)
Process Argv --crash-reporter-id c6d65d1b-1afa-4134-bed6-0f2f4d2a60ef
Screen Reader no
VM 0%
Extensions (72)
Extension Author (truncated) Version
html-snippets abu 0.2.1
pug ama 1.0.1
icons-carbon ant 0.2.4
atlascode atl 2.10.11
unique-lines bib 1.0.0
better-toml bun 0.3.2
visubezier chr 1.4.0
vscode-sql-beautify cla 0.3.5
vscode-eslint dba 2.2.2
xml Dot 2.5.1
vscode-babel-coloring dza 0.0.4
vscode-html-css ecm 1.11.0
EditorConfig Edi 0.16.4
vscode-npm-script eg2 0.3.24
json-tools eri 1.0.2
prettier-vscode esb 9.5.0
vscode-firefox-debug fir 2.9.6
soot-theme han 0.1.3
minify Hoo 0.4.3
vscode-react-typescript inf 1.3.1
vscode-env Iro 0.1.0
vscode-placeholder-images Jak 0.1.0
ts Jeo 0.0.1
vscode-peacock joh 4.0.1
scss-bem-support jol 0.0.6
vscode-phpfmt kok 1.0.31
nunjucks-vscode-snippets luw 0.0.7
CamelCase Mar 1.0.5
twig-language-2 mbl 0.9.2
git-graph mhu 1.30.0
fluent-icons mig 0.0.17
vscode-duplicate mrm 1.2.1
vscode-json5 mrm 1.0.0
vscode-pugbeautify mrm 1.0.2
vscode-puglint mrm 2.3.0
remote-containers ms- 0.231.5
remote-ssh ms- 0.78.0
remote-wsl ms- 0.66.0
vscode-remote-extensionpack ms- 0.21.0
vsliveshare ms- 1.0.5449
language-liquid nei 0.1.1
vs-slug nep 1.0.1
uuid-generator net 0.0.5
vscode-nunjucks-formatter oki 0.1.3
es6-css-minify olb 3.3.3
open-html-in-browser pea 2.1.9
material-product-icons PKi 1.2.0
vscode-commons red 0.0.6
vscode-yaml red 1.6.0
nunjucks ron 0.3.1
ActiveFileInStatusBar Ros 1.0.3
partial-diff ryu 1.4.3
html5-boilerplate sid 1.1.1
js-jsx-snippets sky 11.0.0
vscode-fileutils sle 3.5.0
printtimestamp sno 0.1.0
addDocComments ste 0.0.8
svelte-vscode sve 105.15.0
open-in-browser tec 2.0.0
pdf tom 1.2.0
vscode-typescript-destructure-plugin tus 0.0.10
lorem-ipsum Tyr 1.3.1
todo-md use 2.9.2
gitblame wad 8.1.0
vscode-todo-highlight way 1.0.5
twig wha 1.0.2
vscode-import-cost wix 3.3.0
JavaScriptSnippets xab 1.8.0
php-debug xde 1.26.0
php-pack xde 1.0.3
json Zai 2.0.2
php-intellisense zob 1.0.6

(3 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
vscaat:30438848
pynewfile477:30463512

Metadata

Metadata

Labels

author-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insiderslanguages-guessingLanguage guessing issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions