⚠️ Coming Soon - This VS Code extension is currently in development.
This folder contains the foundation for a VS Code extension that will integrate Code Translator directly into your editor.
- Inline Translation - Right-click any selection to translate to another language
- Command Palette - Quick access to translation commands
- Status Bar - Shows detected language and translation status
- Side Panel - Dedicated translation workspace
- Keyboard Shortcuts - Fast translation with customizable hotkeys
- Multi-file Support - Translate entire files or selections
- Node.js 18+
- npm or yarn
- VS Code 1.80+
# Navigate to extension folder
cd vscode-extension
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch mode for development
npm run watch
# Package the extension
npm run package# Run extension tests
npm test
# Launch Extension Development Host
# Press F5 in VS Code with this folder openThe extension will support the following settings:
{
"codeTranslator.defaultTargetLanguage": "JavaScript",
"codeTranslator.provider": "auto",
"codeTranslator.apiKeys.openai": "",
"codeTranslator.apiKeys.anthropic": "",
"codeTranslator.apiKeys.google": "",
"codeTranslator.showConfidence": true,
"codeTranslator.autoDetectLanguage": true
}We welcome contributions to the VS Code extension! Please check the main repository's CONTRIBUTING.md for guidelines.
- Phase 1: Basic translation commands and context menu
- Phase 2: Side panel UI with preview
- Phase 3: Multi-provider support and settings
- Phase 4: Marketplace publication
Check back soon for updates!