Search code examples
visual-studio-codewindows-explorer

Visual Studio Code in Explorer's context menu


I want to be Visual Studio Code my default editor for all text-based file types in Windows. For Notepad++ there is an extension in the Windows Explorer to provide "Edit in Notepad++" for each file. How can I achieve this for "Edit with Visual Studio Code"? Do I have to "program" such extension on my own or are there any ready-to-use solutions available?


Solution

  • According to this blog post you can set this option during the installation process. If you want to add this option afterwards you either can follow the instructions of the rest of the post or (as recommended) reinstall vscode and then select that option during reinstalling.
    When I faced the same issue, for me it was more comfortable to simply reinstall vscode.