/wwwsearch

VSCode extension to search the web

Primary LanguageJavaScriptMIT LicenseMIT

wwwsearch

Search Google, DuckDuckGo, StackOverflow, searchcode or a custom search engine in your browser.

Features

  • Search selected text via commands or right-click context menu
  • Optionally prepend the current file's language ID to the search query
  • Search using a custom URL or predifined Google, DuckDuckGo, StackOverflow, or searchcode.

Extension Settings

This extension contributes the following settings:

  • wwwsearch.duckduckgo: Constrols whether to prepend the file type to the search query.
  • wwwsearch.customUrl: Custom search URL used in the Search custom URL command.

Known limitations

Ideas for future work:

  • Predifined search engines cannot be modified/disabled
  • Some sort of templating/string formating for URLs
  • Type arbitrary search queries in via a command
  • Open in non default browser