Solution for How can i open visual studio code with browser
is Given Below:
How can I make “visual studio code” open when a button is pressed on my website?
href of your button to the text
vscode: this should bring up dialog in the browser that a website wants to open vscode.
<a href="https://stackoverflow.com/questions/68625451/vscode:">Clicking me will create a prompt to open vscode</a>
If you want to open vscode without user input you can use the
In your case:
will create an automatic pop-up to open vscode.
<a href="https://stackoverflow.com/questions/68625451/vscode://file/path/to/my_project/readme.md">open readme.md in vscode</a>