AGX AI Translation Helper - Documentation ✨The AGX AI Translation Helper is a powerful VS Code extension that leverages the power of Google's Gemini AI to assist developers with translation, code generation, and code analysis tasks. It makes the workflow faster and more efficient while maintaining code quality. 🚀 Getting Started
Open VS Code settings (Ctrl + , or Code > Preferences > Settings). Search for "AGX AI Translation". Find the Gemini API Key setting and enter your key. 🛠️ Key Features and UsageThe extension offers several commands that can be accessed from the Command Palette (Ctrl + Shift + P) or activated with the icons in the VS Code sidebar.
Usage: Select a code snippet, then run the AGX AI Translation: Extract Strings command. Translate Existing: Translate an existing JSON file with key-value pairs into a new language. Usage: Open a JSON translation file, then run the AGX AI Translation: Translate Existing command, and select the target language.
Usage: Select a function or class, and run the AGX AI Translation: Test Generation command. Keyboard Shortcut: Ctrl + Alt + T Bug Fix: Analyze the selected code and get suggestions for fixing bugs. Usage: Select a code snippet, and run the AGX AI Translation: Bug Fix command. Refactoring: Get refactoring suggestions to improve code readability, efficiency, and maintainability. Usage: Select a code snippet, and run the AGX AI Translation: Refactoring command.
Usage: Select a code snippet, and run the AGX AI Translation: Code Explanation command. Code Check: Perform a check on the entire file or a selected part. The extension looks for potential problems, such as consistency issues or code duplication.
Custom Prompt: Use your own custom prompt for the AI. Consolidate Common Strings: Find recurring, translatable strings in the project and consolidate them into a constants file. |