Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 768
Rashid Mousavy Khoshrou Avatar asked Nov 08 '22 11:11

Rashid Mousavy Khoshrou


1 Answers

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.

like image 145
seairth Avatar answered Dec 28 '22 09:12

seairth