Randvar
English | 简体中文
A convenient variable name generator plugin which can convert your Chinese text to English variable name. 👍🏻
🔥 Features
- support naming rules: camel case, snake case.
- support translation service: Google, Baidu
👩🏻💻 Quick Start
Tips: Press Ctrl+Shift+P (Windows, Linux) or Cmd+Shift+P (macOS), then input randvar to see a list of commands
Convert chinese to English variable name:
- Select the text to convert in editor
- Press
Alt+Shift+R (Windows, Linux) or Option+Shift+R (macOS)
- Select the translation tools and naming rule
- Enjoiy! 😋
🔧 Extension Settings
This extension contributes the following settings:
randvar.preferredTranslator : set the preferred translation tools
randvar.preferredNamingRule : set the preferred naming rule of variable
🤔 Known Issues
🥳 Release Notes
1.0.3
optimize user experience
1.0.2
bug fix
1.0.1
bug = bad, update = good!
1.0.0
🎉 My first public version
0.1.0-alpha.0
Initial release
Note: Here are some useful editor keyboard shortcuts:
- Convert to variable name from your preferred config (
Option+Shift+R on macOS or Alt+Shift+R on Windows and Linux)
| |