As we know what a vs code is, as a programmer it helps us in so many ways from finishing our code to giving us a suggestion for the code in making our life easier its freaking good, and to make it much easier there are multiple shortcuts to open vs code from which we will be seeing how to open any folder or file directly in to vs code with just the right click on the mouse.
1. uninstall the visual studio code from your pc/laptop
2. start installing the vs code and by accepting the agreement click on the next button shown below
3. click on the next button till you get to the page shown below
4. tick both boxes highlighted in the gif above and install the vs code
now you would be able to see the “open with code” option on right-click preview is shown below