IssueRaiser

Editor support for WebComponents

Hi, this is Pine from VS Code team. I'm working on expanding our HTML Language Server to [better support WebComponents](https://github.com/Microsoft/vscode/issues/62976). I'd like to get some feedback from the WebComponents commitee / community on implementing WC editor support. I also work on [Vue Language Server](https://github.com/vuejs/vetur/tree/master/server) where I'm already shipping [such support for Vue-based frameworks](https://vuejs.github.io/vetur/framework.html). ## Current Status https://github.com/octref/web-components-examples ![demo](https://user-images.githubusercontent.com/4033249/49249638-977bfd80-f3d1-11e8-9a57-f905fd7248e2.gif) - User includes `web-components.json` and `web-component-attributes.json` in a project - User points to these JSON files with `html.experimental.custom.tags` and `html.experimental.custom.attributes` configurations - VS Code gets HTML completion and hover for the custom tags / attributes. ## Some Background - The TypeScript community has adopted [Type Definition Files](https://github.com/DefinitelyTyped/DefinitelyTyped), which drives the completions, hover messages and many other language features in [VS Code](https://code.visualstudio.com/docs/languages/typescript) and other editors through [javascript-typescript-langserver](https://github.com/sourcegraph/javascript-typescript-langserver). - Through [Language Server Protocol](https://microsoft.github.io/language-server-protocol/), HTML Language Server in VS Code can be u

Posted by octref on Nov 29, 2018, 8:41 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

support (Logistics)

Editor support for WebComponents

octrefNov 29, 2018, 8:41 PM

Hi, this is Pine from VS Code team. I'm working on expanding our HTML Language Server to [better support WebComponents](https://github.com/Microsoft/vscode/issues/62976). I'd like to get some feedback from the WebComponents commitee / community on implementing WC editor support. I also work on [Vue Language Server](https://github.com/vuejs/vetur/tree/master/server) where I'm already shipping [such support for Vue-based frameworks](https://vuejs.github.io/vetur/framework.html). ## Current Status https://github.com/octref/web-components-examples ![demo](https://user-images.githubusercontent.com/4033249/49249638-977bfd80-f3d1-11e8-9a57-f905fd7248e2.gif) - User includes `web-components.json` and `web-component-attributes.json` in a project - User points to these JSON files with `html.experimental.custom.tags` and `html.experimental.custom.attributes` configurations - VS Code gets HTML completion and hover for the custom tags / attributes. ## Some Background - The TypeScript community has adopted [Type Definition Files](https://github.com/DefinitelyTyped/DefinitelyTyped), which drives the completions, hover messages and many other language features in [VS Code](https://code.visualstudio.com/docs/languages/typescript) and other editors through [javascript-typescript-langserver](https://github.com/sourcegraph/javascript-typescript-langserver). - Through [Language Server Protocol](https://microsoft.github.io/language-server-protocol/), HTML Language Server in VS Code can be u

Comments (0)

No comments yet. Start the discussion.

Comment on this issue