The Ecosia search extension for Visual Studio Code makes it easy to search your code on the internet. The extension uses Ecosia search engine, a search engine that plants trees! Code, search and help to plant trees. For more information, visit Ecosia webpage.
If you prefer other search engines, you still have the option to change the default search engine from the extension settings.
- Add Brave search engine.
- Add Yandex as an alternative search engine.
- Ignore adding plaintext to query.
- package updates.
- Add Stackoverflow as an alternative search engine.
- Security updates
- Add bing as an alternative search engine.
Highlight and right-click the text and select Ecosia: Search
.
Search your clipboard text from vscode using Ecosia: Search clipboard
command. This is especially helpful to search something from vscode terminal.
Now you can easily search only by using keyboard shortcuts.
Ctrl+K Ctrl+Shift+F
to search from clipboard.Ctrl+K Ctrl+Shift+S
to search the selected text.
You can change these settings using the vscode Keyboard shortcuts section.
This extension contributes the following settings:
ecosia-search.searchEngine
: Select your desired search engine (default is, of course, Ecosia)ecosia-search.autoInsertLanguageName
: Whether to add language name to the query automatically (only for selected texts). Default istrue
.ecosia-search.ifNoSelection
: Specifies the behavior in case no text is selected. Show errors by setting toerror
or opening an empty search result page usingemptySearchPage
(default).ecosia-search.maxQueryLength
: Maximum search length (url length). Default is 2047 to support IE browser.
- The context menu does not work on preview pages or terminal and I Can't search selected text.
- At this moment, vscode does not support an API to use selected text in such windows. The workaround is to copy the text and use search from the clipboard or use the keyboard shortcuts to search the copied text.
Submit the issues if you find any bugs or have any suggestions.
This extension is not an official extension from Ecosia. The extension only opens search results inside the Ecosia search engine. Ecosia and all its assets are properties of Ecosia GmbH.