同步操作将从 Eno/search-online 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
A simple extension for VSCode to search or translate online easily using different engine.
You can select a keyword in the code, right-click to open the drop-down menu, select Search Online
, it will automatically open the browser for you and search for related content.
Or select a keyword in the code, use the shortcut key cmd+enter(mac)
/ ctrl+enter(win)
to open the browser search results.
You can select a keyword in the code, right-click the drop-down menu and select Traslate Online
, it will automatically open the browser and use Google Translate to help you translate the content.
Or select a keyword in the code, use the shortcut key cmd+shift+enter(mac) / ctrl+shift+enter(win)
to translate the content.
Support offline dictionary search, select keywords in the code, the translation results will appear in the lower right corner of the bottom bar, if you want to view more detailed translation results, you can click the chinese translation results in the lower right corner of the bottom bar, and your default browser for online translation.
You can switch between different search engines according to your needs, just click Search Engine
in the bottom bar of vscode, and you can switch search engines. Google search used by the search engine by default.
Or, you can right-click to open the drop-down menu after selecting the keywords, and click Search Online By Switch Engine
, you can switch the engine to search results.
If necessary, you can change the request address of the search engine.
The default request address format for each search is as follows. Note that the keywords searched in the link use %SELECTION%
instead.
Or modify the .vscode/setting.json
file to change the default search engine. For example, modify to the following configuration, then every time you click on Search Online
, you will use Bing
to search for related content.
{
"search-online.search-engine": "Bing"
}
Or modify the .vscode/setting.json
file to add a new search engine. For example, by modifying .vscode/setting.json
below, two new search engines, Visual Studio Marketplace and Pypi, are added.
{
"search-online.add-search-engine": [
{
"name": "Visual Studio Marketplace",
"url": "https://marketplace.visualstudio.com/search?term=%SELECTION%&target=VSCode"
},
{
"name": "Pypi",
"url": "https://pypi.org/search/?q=%SELECTION%"
}
]
}
You can also use the add search engine option to manually add a search engine, you need to provide the name and search address, for example↓.
name: Visual Studio Marketplace
url: https://marketplace.visualstudio.com/search?term=%SELECTION%&target=VSCode
You can change the translation language configuration item of the extension to help you translate different texts.
Development Team
Eno Yao |
中文编程 |
---|
If the extension can help you, please enter the Rating & Review link to give me a five-star praise.
If you have any questions or suggestions during use, please leave a message in the issue.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。