Skip to content

Language guessing: Prefer JSON if the content is valid JSON #252015

Open
@JoelEinbinder

Description

@JoelEinbinder

I often paste JSON text into vscode with the intent of formatting it. VSCode tries to guess the language of my text. But JSON is a valid subset of many languages. So while sometimes VSCode guesses JSON, sometimes I get Julia or Python. It would be nice if pasting a big JSON blob consistently caused VSCode to guess JSON. Otherwise when I try to format I get an error about missing a Julia formatter and I have to go change the language manually.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions