Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>transform helperNew to Visual Studio Code? Get it now.
transform helper

transform helper

kanadeHu

|
200 installs
| (0) | Free
This extension can automatically translate 'const 用户名' into 'const username' through const username to solve naming anxiety
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Transform Helper

这个扩展插件可以通过const 用户名自动翻译成 const userName,解决命名焦虑;

描述

设置

Name Description
transform-helper.appid 百度翻译appid
transform-helper.key 百度翻译私人账户秘钥
transform-helper.time 输入翻译文字后几秒触发翻译(默认1500,低于1000的配置不生效)

最后建议大家自己申请一个百度翻译通用api(代码中是我申请的通用版本的翻译api,翻译字节数有限,当然目前只支持百度翻译,后续有更好的翻译工具厂商,大家可以告诉我,我去增加),将appid、秘钥写入配置,重启即可生效

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft