Archive for August 2021

Demystify Microsoft Viva Connections its extensibility model

August 20, 2021

Microsoft Viva Connections is a new experience to inform employees in your company and keep them engaged all from within Microsoft Teams. The nice part about Viva Connections is just a name, and you will have to brand it yourself. Meaning, it will be your experience, for your company. Another significant part of Viva Connections is the extensibility.

Read more

#DevHack: language-specific settings in a VSCode extension

August 18, 2021

When working with Visual Studio Code and different types of languages, you might want to change some settings only for one specific language. In my case, this was what I wanted to achieve for Markdown. VSCode is my primary editor, which I use for coding and writing this article. I tried to optimize it for writing blog posts, like increase the line height, different font, and more.

Read more

#DevHack: How to rename a file from a VSCode extension

August 16, 2021

Renaming a file is something that we do very often, but in my case, I wanted to do it from within a Visual Studio Code extension. When I first looked at the APIs and available documentation, I found the vscode.executeDocumentRenameProvider command and RenameProvider. Info Documentation from this can be found here built-in commands.

Read more

#DevHack: Check if a VSCode extension is running in WSL

August 4, 2021

For the Front Matter Visual Studio Code extension, I needed to know if the current instance opened a Windows Subsystem for Linux (WSL) located project folder. By knowing this context, I could ensure that certain functionality works similarly to the default behavior on Windows and macOS. The solution The solution is a very simple one-liner:

Read more

Generate open graph preview image in Code with Front Matter

August 2, 2021

Since I moved my blog to Hugo, I created a Front Matter - VSCode extension which makes content/article management easier within Visual Studio Code. A couple of versions ago, I added the ability to integrate your custom scripts. These will show up as actions in the Front Matter side panel. This functionality allows total flexibility to your content management workflow.

Read more

#DevHack: Installing Hugo on Windows with WSL

August 1, 2021

There were a couple of reasons for me to test out Windows 11, but the main reason was to give a new life to a device I hardly used anymore. Ever since I bought my Mac Mini for the office, my previous desktop device (running Hackintosh) kept turned off. To make sticker printing easier in the office, I thought to give it a new life and install Windows 11.

Read more