[Tool] Vscode translation plug-in recommendation (no Google translation api, support English-Chinese translation of short sentences, support word search, support auto-completion, no browser required)

Requirements:
1) Occasionally need to look up new English words;
2) Sometimes I can’t remember the English corresponding to Chinese;
3) I don’t want to go back to the browser to open a bunch of web pages;
4) Google Translate hangs.

Occasional needs:
1) Short sentence translation.

Because Google Translate is down, first of all, exclude the most popular translation plug-in Vscode Google Translate, and a series of derivative products.

Due to the search for "translate", the high downloads are basically based on the Google translation Api, and I don't recommend it. According to my needs, the portable dictionary + Youdao translation is more suitable for me .

I searched for "@popular dict", "@popular youdao", and "@popular youdao" respectively, and found three treasure plugins, which together can solve all my translation needs!

It is also possible to use only the first and third.

1 Dictionary Completion

insert image description here

Reason for recommendation: Automatically complete according to the English dictionary, and you can set various conditions for whether to complete (such as turning off automatic completion of Python/JS files), and the degree of customization is quite high!

Usage scenario: write documents! write the code! Write everything works great!

Example usage:

insert image description here

How to use: Open the workspace or global settings.json, enter double quotes, and then configure the functions you want according to the completion prompts.

For example, the usage instructions of the plugin (as shown in the figure below) mention that Markdown files are not completed by default in version v1.10.0. If you want to complete it, just enter "[markdown]" in settings.json, and configure it slowly according to the prompts.

Because the content of the configuration will change with the update of the plug-in, so I can't guarantee that my configuration can be applied to you.

insert image description here

My configuration items are as follows:

insert image description here

Disadvantages that are not considered disadvantages: the degree of customization is high, so if you don't know anything about settings.json, it may be a bit difficult.

2 dictionary

insert image description here

Recommended reason: straight to the core, the ideal product, simple but easy to use, is dictionary.

Usage scenario: word search.

Example of use: Right-click a word, then click Dictionary, and the result will be printed in the output window, which is very convenient!

insert image description here
How to use: There is only one way to use the example.

Disadvantages that are not considered disadvantages: ①Because three kinds of dictionaries will be called, the printed results will be relatively long, and there will be a little bit of screen swiping. It will be even better if you can only choose a certain dictionary (dictionary preference) in settings.json, or even add a dictionary yourself (although I am definitely too lazy to add it myself)! ②There is no shortcut key, which greatly reduces the frequency of my own word search, which helps to improve my English level in a sense.

3 fanyi

insert image description here
Recommended reason: fast response, floating display, no configuration required. In a sense, it is better than the second plug-in dictionary. After downloading this, you don't need to download the second one.

Usage scenarios: short sentence translation and word meaning query.

Example usage:

insert image description here

How to use: There is only one way to use the example.

Disadvantages that are not considered shortcomings: ①There is an author’s watermark at the end of the translation (it would be better if you can modify the printing format of the watermark hhh), which always makes me mistakenly think it is the translation result; Levels may be a little hindering.

Guess you like

Origin blog.csdn.net/qq_46106285/article/details/127190042