Is it possible to replace Microsoft Notepad on Windows 10 as the default editor with VS Code?

This repo (https://github.com/grumpydev/Sublime-Notepad-Replacement) shows how it's possible to replace Notepad with Sublime Text, but I wonder if this is possible with VS Code?


You can make it so a specific file type will open in a specific application.

Windows 10:

  1. On the Start menu, select Settings
  2. Select Apps > Default apps.
  3. Select which default you want to set, and then choose the app. You can also get new apps in Microsoft Store. Apps need to be installed before you can set them as the default. Choose default apps under Apps in Settings
  4. To choose default apps by file type (for example, .pdf files), scroll down and select Choose default apps by file type.

https://support.microsoft.com/en-us/help/4028161/windows-10-change-default-programs

Windows 7

https://support.microsoft.com/en-us/help/18539/windows-7-change-default-programs