Notes on Extending Visual Studio Code

Posted Monday, October 3, 2022 by Sri. Tagged MEMO
EDITING PHASE:gathering info...

It looks like the API for Visual Studio Code extensions might be relatively straightforward! Some interesting things I noted in the Extension Guides docs:

  • You can extend markdown with a markdown-it plugin inside an extension.
  • You can make custom text editors that use textdocument as a basis, but you can then render it any way you want with a WebView that you can stuff HTML into, implement user interfaces.
  • There is a TreeView API that allows you to render them in the sidebar, and you provide it a data source of what to render. So I could use this maybe to implement my customized
  • The code editor itself is packaged as Monaco, which includes no sources but can be imported as an npm package! It is the actual library used in VSC.