
A VSCode extension powered by LLM API that translates text into various programming language variable naming conventions.
🤖 The extension uses SiliconFlow's Qwen/QwQ-32B free model by default, which can be used out of the box.
English | 中文

- 🚀 Quick access via shortcut (Ctrl+Shift+T / Cmd+Shift+T)
- 🤖 Multiple AI model support (OpenAI, DeepSeek, Qwen, etc.)
- 📝 Generates multiple naming conventions:
- camelCase
- PascalCase
- snake_case
- CONSTANT_CASE
- kebab-case
- ⌨️ Keyboard navigation and one-click copy
- ⚙️ Flexible configuration options
- Open the Extensions panel in VSCode (Ctrl+Shift+X)
- Search for "Var Name"
- Click Install
Key | Description | Value |
---|---|---|
var-name.apiKey |
API Key | Your API key string |
var-name.baseURL |
Custom API URL | Optional custom endpoint |
var-name.model |
Model Name | Model identifier string |
- Press shortcut
Ctrl+Shift+T
(Mac:Cmd+Shift+T
) - Enter Chinese text in the input box
- Wait for AI translation
- Use arrow keys to select naming convention
- Press Enter to copy to clipboard
Input: 是否显示弹窗
Output:
- camelCase:
isShowModal
- PascalCase:
IsShowModal
- snake_case:
is_show_modal
- CONSTANT_CASE:
IS_SHOW_MODAL
- kebab-case:
is-show-modal