Comments (2)
开发者你好,能否添加一个开关,鼠标选中代码时,取消自动翻译
- 当鼠标选中一部分代码后,插件就开始对选中内容自动进行翻译,将结果显示在左下角状态栏上,这很好,能减少想要翻译时的操作
- 但大多数时候都是在复制粘贴代码,或者双击修改某个单词,也会自动翻译,这会产生很多用不到的翻译操作。
- 尝试修改 translateSpeaker.wordMaxLength 这个参数,但自动翻译依旧会进行,翻译内容的长度为设置的参数。
- 或者是否能在 鼠标完成选中代码 这一操作后进行判断,再决定是否翻译
感谢你的插件,对我很有帮助,期待你的回复。
有一个参数是:translateSpeaker.mode,如果设置为manual之后,选中文字后,必须使用右键菜单或者快捷键才开始翻译转换
from translate-speaker.
感谢,我会了
from translate-speaker.
Related Issues (6)
- 无法打开扩展设置 HOT 1
- 请教问题 results.forEach is not a function HOT 1
- 提个优化建议 HOT 1
- 声音控制有嘛? HOT 1
- UI建议
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translate-speaker.