VS code extension -
“Extension that makes a google search of the text selected”
Steps:
- Add a new command - hello world pop up (https://www.freecodecamp.org/news/making-vscode-extension/ )
- Add that command to the editor context menu. (link)
- Add a new command in the editor context menu to save the text selected (link)
- Use that saved text to display that text in pop up
- Add a new command in the editor context menu to open google.com with query parameter (e.g. https://www.google.com/search?q=sfd ) (link)
- Provide the selected (and saved if needed) text to this google search
- install locally by creating a vsix file - (link)
- Publish the extension for reuse
- Add setting to add prefixed search queries like site:stackoverflow
- Add key bindings to make the search