Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language auto-recognition errors #212006

Open
for-the-zero opened this issue May 4, 2024 · 2 comments
Open

Language auto-recognition errors #212006

for-the-zero opened this issue May 4, 2024 · 2 comments
Assignees

Comments

@for-the-zero
Copy link

Type: Bug

When I paste python or js code from outside, it is almost always recognized as ini

VS Code version: Code 1.88.1 (e170252, 2024-04-10T17:41:02.734Z)
OS version: Windows_NT x64 10.0.18363
Modes:

System Info
Item Value
CPUs AMD A4-9125 RADEON R3, 4 COMPUTE CORES 2C+2G (2 x 2296)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: disabled_off
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.47GB (3.18GB free)
Process Argv C:\Users\hao\Desktop\form.code-workspace --enable-proposed-api TabNine.tabnine-vscode --crash-reporter-id 29b05dad-23d3-4e54-b734-f36c5bd83d47
Screen Reader no
VM 0%
Extensions (23)
Extension Author (truncated) Version
project-manager ale 12.8.0
tongyi-lingma Ali 1.2.14
htmlplay bia 0.0.10
npm-intellisense chr 1.4.5
regex chr 0.4.0
vscode-html-css ecm 2.0.9
vsc-material-theme-icons equ 3.6.0
auto-close-tag for 0.5.15
auto-rename-tag for 0.1.10
vscode-language-pack-zh-hans MS- 1.89.2024050109
debugpy ms- 2024.6.0
isort ms- 2023.13.10681007
python ms- 2024.5.11021008
vscode-pylance ms- 2024.4.1
remote-containers ms- 0.362.0
hexeditor ms- 1.9.14
vscode-react-native msj 1.13.0
sqlite-viewer qwt 0.4.5
LiveServer rit 5.7.9
vscode-todo-highlight way 1.0.5
dictionary-completion yzh 1.3.1
mdui zdh 2.0.0
material-theme zhu 3.17.2
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r6:30993542
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
pythoncenvpt:31022790
dwnewjupytercf:31035177

@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@RedCMD
Copy link
Contributor

RedCMD commented May 4, 2024

I too have the same problem with pasting JSON code and it being detected as ini
but I'm a little confused
as ini doesn't have any firstLine property in its package.json file

@aeschli aeschli assigned TylerLeonhardt and unassigned aeschli May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants