Archive for December 2021

Taking the good out of the bad experiences, wrapping up 2021

December 24, 2021

What!? It is already the end of 2021! All I can say about 2021 is that life takes you to unexpected places. Even in the last two weeks of 2021, things happened for which I far from prepared. In some circumstances of the events that occurred this year, I wish I could give myself the potential of just taking a break.

Read more

Use React in your VSCode WebView with hot module replacement

December 17, 2021

For Front Matter and another extension, I am currently developing. I use the Visual Studio Code WebView API heavily as it provides fully customizable views for your panels or tabs. It allows any company and developer to create their own unique experiences. One of the things I did for a long time was manually hitting the refresh button each time I updated the code.

Read more

#DevHack: check how your VSCode extension is running

December 17, 2021

When developing Visual Studio Code extensions, it might come in handy to know when running a production- or debug-build. Typically in Node.js projects, we verify this by using the NODE_ENV environment variable. Unfortunately, this approach cannot be used as VS Code runs in a different instance, and environment variables are lost.

Read more