DEV Community

Cover image for 21 questions you’ll ask if you code a VSCode extension

21 questions you’ll ask if you code a VSCode extension

Cédric Teyton on January 12, 2023

Are you about to start developing a VSCode extension? Or maybe you struggle with what you’re currently trying to achieve? At Packmind, we’ve buil...
Collapse
 
mmueller profile image
Michael Müller

Thanks a lot for your list! The official VS Code API docs are sometimes very sparse and it can be hard to figure out the underlying concepts and how some of the different components fit together. Having a guide that focuses more on typical use cases instead of just listing the types and functions is a great starting point.

If you plan to extend the list at some point, it might be a good idea to add some tips regarding webviews (How to create webviews? How to manage webview resources? How to save and restore the webview state? etc.). It took me quite a bit of time to figure out all the details of webviews when I started working on my extension SemanticDiff, and I can imagine that other developers might face similar issues as well.

Collapse
 
cteyton profile image
Cédric Teyton

Thanks Michael,
I won't hesitate to let you know if I'll work on it in the future ;)

Collapse
 
fyodorio profile image
Fyodor

Very cool, thanks 👍

Collapse
 
cteyton profile image
Cédric Teyton

You're welcome !