I wanted to get context menu option which is similar in chrome. This option means like Search Google for 'dragged texts'
The reason is, I did not want to copy and paste my code to a web-browser anymore. It is a hassle.
To get what I wanted, I googled but got only some old results. My environment is Windows11 and VSCode 2023 version.
This is the old one.
How to google from the context menu of the Visual Studio 2015 code editor
how can I modify Visual Studio 2015 to be able to search the internet (my fav search engine happens to be google) from the context menu in the code editor? Ideally, I would like it to open as a ne...
stackoverflow.com
The recent solution is, to use VSCode extension which includes the option. There are some extentions but I installed this.
Now you can just drag texts, then open context menu(ususally right-click), click 'Google this'. It will automatically open a web-browser with searched result.