A Visual Studio Code extension that automatically translates your code identifiers (functions, variables, classes) between Vietnamese and English while strictly preserving your naming conventions (camelCase, PascalCase, snake_case).
Features
- Smart Translation: Automatically detects the current naming convention.
- Bi-directional: Translate from Vietnamese to English and vice versa.
- Mass Update: Automatically finds and replaces all references of the identifier in the current file using VSCode's built-in reference provider.
- Zero Configuration: Uses a built-in translation API, no API keys required!
Usage
- Highlight an identifier in your code (e.g.,
layDanhSachNguoiDung). - Right-click to open the context menu.
- Select "Translate Selected Identifier to English".
- The extension will automatically translate it to
getUserListand update all usages oflayDanhSachNguoiDungin the current file!
You can also use the Command Palette (Cmd+Shift+P or Ctrl+Shift+P) and search for:
Translate Selected Identifier to EnglishTranslate Selected Identifier to Vietnamese
Dev By HuyPTG