VS Code: Is it possible to have an extension with user interface (Html/css/JS)?

Is it possible to create an extension with user interface for visual studio code.

I like to have an editor for a json file and I like to have some UI for it.

Like google chrome extensions with HTML/CSS/JAVASCRIPT.

Does VS Code supports these kind of extensions?

Upvotes: 5

Views: 3054

Answers (1)

seairth
seairth

Reputation: 2072

No, VSCode does not provide this level of extension integration. However, if you still plan to edit the JSON using the text editor, but want to "render" it in some way, that is possible. You can use a TextDocumentContentProvider to provide a read-only view of your JSON file. For a similar example, look at the CSS Properties Preview example extension.

Upvotes: 1

Related Questions