concourse-vis icon indicating copy to clipboard operation
concourse-vis copied to clipboard

VS Code support?

Open josephgorse opened this issue 6 years ago • 3 comments

Are there any plans to release this as an extension for VS Code?

josephgorse avatar Feb 13 '19 20:02 josephgorse

I started to look at this a while ago as I know VS Code has become quite popular but with no way to render html / svg canvas objects, it's going to be tricky. One of the great things about Atom is that it's all html based which meant I could just lift and shift some of the rendering code from concourse itself.

danhigham avatar Feb 21 '19 16:02 danhigham

so this wouldn't work? https://code.visualstudio.com/api/extension-guides/webview

king-jam avatar Feb 21 '19 20:02 king-jam

A webview seems to only provide an object where you can just set the HTML, what we would need is a way to gain reference to the underlying SVG object in the webview, I don't think that's possible with this object.

danhigham avatar Feb 28 '19 22:02 danhigham