GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - w2xi/var-name: Generate variable names using AI models API within VSCode

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
images
images
 
 
l10n
l10n
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
LICENSE
LICENSE
 
 
README-zh_CN.md
README-zh_CN.md
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
package.nls.json
package.nls.json
 
 
package.nls.zh-cn.json
package.nls.zh-cn.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Var Name

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 | δΈ­ζ–‡

Banner

✨ Features

  • πŸš€ 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

πŸ“₯ Installation

  1. Open the Extensions panel in VSCode (Ctrl+Shift+X)
  2. Search for "Var Name"
  3. Click Install

βš™οΈ Configuration

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

🎯 Usage

  1. Press shortcut Ctrl+Shift+T (Mac: Cmd+Shift+T)
  2. Enter Chinese text in the input box
  3. Wait for AI translation
  4. Use arrow keys to select naming convention
  5. Press Enter to copy to clipboard

πŸ’‘ Example

Input: 是否显瀺弹ηͺ—

Output:

  • camelCase: isShowModal
  • PascalCase: IsShowModal
  • snake_case: is_show_modal
  • CONSTANT_CASE: IS_SHOW_MODAL
  • kebab-case: is-show-modal

About

Generate variable names using AI models API within VSCode

marketplace.visualstudio.com/items?itemName=w2xi.var-name

Topics

vscode-extension

Resources

Readme
MIT license
Activity

Stars

7 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.