kisstkondoros / gutter-preview

Other
158 stars 37 forks source link

[Question] Would this method possibly work for another extension #23

Closed tecosaur closed 6 years ago

tecosaur commented 6 years ago

Hello,

First things first, I'm going to admit that I'm not actually a user of this extension. Rather I'm interested if you might have an idea if what you've used here could be applied to something somewhat similar - namely previews of maths blocks for the extension LaTeX-Workshop which I have a vested interest in.

Ideally, I'm hoping to implement something like this. Since from a having-inline-element-appear point of view this seems to be the closest thing - I thought it would be worth asking you whether you think something like this would be possible, and if so whether you would have any pointers.

Thanks! tecosaur

kisstkondoros commented 6 years ago

Hi,

I think it could be implemented in a similar fashion. The key things are the followings:

You can also clone this repo and adjust it for your needs and publish it as a separate extension, however I would recommend to contribute to the mentioned LaTeX extension instead.

Also please check the vscode API: https://code.visualstudio.com/docs/extensionAPI/vscode-api and the samples they provide: https://github.com/Microsoft/vscode-extension-samples

Have fun!