Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Optimal English PromptNew to Visual Studio Code? Get it now.
Optimal English Prompt

Optimal English Prompt

TracToDev

| (0) | Free
A lightweight extension that translates and optimizes prompts into clear, well-structured English instructions for AI assistants. Works with VS Code (GitHub Copilot) and Cursor IDE (Cursor AI).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Optimal English Prompt

A lightweight extension that translates and optimizes prompts from any language into clear, well-structured English instructions for AI assistants. Works seamlessly with both VS Code (GitHub Copilot) and Cursor IDE (Cursor AI).

Features

  • 🌍 Multi-language Support: Translate prompts from any language to optimized English
  • 🤖 AI-Powered Optimization: Uses OpenAI GPT-4o-mini to generate clear, actionable prompts
  • 🎯 Multi-IDE Support: Works in both VS Code and Cursor IDE
    • VS Code: Integrates with GitHub Copilot Chat
    • Cursor IDE: Integrates with Cursor AI Composer/Chat
  • 📋 Standalone Mode: Works independently - optimized prompts are always copied to clipboard
  • 📝 Customizable System Prompt: Tailor the optimization behavior to your needs
  • 📜 History Navigation: Browse through your last 10 prompts with previous/next buttons
  • ⌨️ Keyboard Shortcuts: Press Enter to send, Shift+Enter for new lines
  • 🎨 Native Theming: Seamlessly integrates with your editor's theme
  • 📌 Flexible Positioning: Drag the panel to any sidebar or panel area

Installation

VS Code

  1. Open VS Code
  2. Press Ctrl+Shift+X (or Cmd+Shift+X on macOS) to open Extensions
  3. Search for "Optimal English Prompt"
  4. Click Install

Cursor IDE

  1. Open Cursor IDE
  2. Press Ctrl+Shift+X (or Cmd+Shift+X on macOS) to open Extensions
  3. Search for "Optimal English Prompt"
  4. Click Install

Note: The extension automatically detects which IDE you're using and integrates with the appropriate AI assistant.

Setup

  1. Get your OpenAI API key from platform.openai.com/api-keys
  2. Open the extension panel by clicking the "Chat With AI" icon in the Activity Bar
  3. Click the ⚙️ Settings icon in the panel title bar
  4. Enter your OpenAI API Key in the settings

Usage

  1. Open the Panel: Click the "Chat With AI" icon in the Activity Bar
  2. Enter Your Prompt: Type your prompt in any language
  3. Send: Press Enter or click "Translate & Optimize"
  4. Result: The optimized English prompt is automatically:
    • Displayed in the output area
    • Copied to your clipboard
    • Sent to your AI assistant:
      • VS Code: GitHub Copilot Chat (if installed)
      • Cursor IDE: Cursor AI Composer/Chat

Keyboard Shortcuts

  • Enter: Send prompt for translation
  • Shift + Enter: New line in input area
  • ◀ / ▶: Navigate through prompt history

History Navigation

The extension remembers your last 10 prompts. Use the Previous (◀) and Next (▶) buttons to browse through them.

Extension Settings

This extension contributes the following settings:

  • optimal-english-prompt.apiKey: Your OpenAI API Key for translation and optimization
  • optimal-english-prompt.systemPrompt: Custom system prompt to control how prompts are optimized (default includes instructions for code generation tasks)
  • optimal-english-prompt.copilotIntegration: Enable/disable automatic sending to GitHub Copilot Chat (default: enabled)

Requirements

  • VS Code version 1.106.0 or higher, or Cursor IDE
  • OpenAI API key
  • Internet connection for API calls
  • Optional AI Integration:
    • VS Code: GitHub Copilot extension
    • Cursor IDE: Built-in Cursor AI (no additional setup needed)

Tips

  • Use the custom System Prompt setting to tailor optimization for specific use cases
  • The extension works best with clear, specific prompts
  • Drag the "Chat With AI" panel to your preferred location (sidebar, secondary sidebar, or bottom panel)

Known Issues

  • The extension requires an active internet connection to communicate with OpenAI's API
  • API calls may take a few seconds depending on prompt complexity and network speed

Support

If you encounter any issues or have suggestions, please file an issue on our GitHub repository.

Changelog

See CHANGELOG.md for release notes and version history.

License

This extension is licensed under the MIT License.


Enjoy coding with optimized prompts! 🚀

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft