AI Personal Learning
and practical guidance

Aide: AI helper extension that enhances the VSCode development experience with one-click annotation, conversion, and UI-generated code

General Introduction

AIDE (AI-assisted Development Extension) is a powerful VSCode AI-assisted development extension that focuses on providing unique and useful AI programming assistance. It is different from the GitHub Copilot AIDE is developed in an open source way and supports user-defined AI models, including local deployment options, to help developers improve code readability, accelerate code migration, and optimize code quality. It helps developers improve code readability, accelerate code migration, optimize code quality, and is especially suited to handle refactoring and modernization of legacy projects. Both beginners and advanced developers can use AIDE to improve development efficiency and code quality.

Aide: AI Assistant Extension to Enhance VSCode Development Experience, One-Click Annotation, Conversion, UI Generated Code-1


 

Function List

  • One-click annotation: Quickly add detailed comments to code to improve code readability.
  • code switching: Supports code conversion between multiple programming languages to simplify cross-language development.
  • UI Generation Code: Automatically generate the corresponding code from UI design drawings, realizing a seamless connection between design and development.
  • AI Batch Processing: Batch processing of documents using AI technology, optimized for custom needs.
  • Smart Paste: Intelligent conversion of clipboard contents (code or images) to improve paste efficiency.
  • rename a variable: Provide AI-suggested variable names and their explanations to optimize code naming.
  • AI command execution: Execute custom AI commands on selected files or folders.
  • Copy as AI Tip: Easily copy file/folder contents as AI tips.

 

Using Help

1. Installation and configuration

  1. Ensure that the VSCode version is higher than v1.82.0
  2. Search for and install AIDE in the VSCode Extension Marketplace
  3. Configure the AI model interface.
    • set up aide.openaiBaseUrl
    • configure aide.openaiKey
    • Choosing the right AI model (gpt-4o recommended)

2. Description of the use of the main functions

2.1 Code comment optimization

  • Select the code in the editor
  • Click on the annotation icon in the upper right corner or right click and select "✨ Aide: Code Viewer Helper"
  • AI will generate detailed code comments to improve code readability.

2.2 Code conversion

  • Select the code to be converted
  • Click on the conversion icon in the upper right corner or right click and select "✨ Aide: Code Convert"
  • Selection of target language/framework
  • VSCode will open a temporary file to display the converted code.

2.3 Expert-level code optimization

  • Select the code to be optimized
  • Right click and select "✨ Aide: Expert Code Enhancer"
  • AI will optimize the code, including.
    • SOLID principle optimization
    • Design Patterns
    • Security Hole Repair
    • Optimization of performance issues
    • Code Readability Improvement

2.4 Smart Paste

Configuration Enable.

  1. Open VSCode Settings
  2. start using aide.readClipboardImage options (as in computer software settings)
  3. Supports direct conversion of design drafts to corresponding framework code

2.5 Batch processing

  1. Select files/folders in File Manager (press Ctrl/Cmd to multi-select)
  2. Right click and select "✨ Aide: AI Batch Processor"
  3. Input Processing Requirements
  4. AI will generate a processed copy file (.aide suffix)
  5. Replace the original file after confirming that it is correct

3. Cautions

  • Batch processing of long files may be interrupted, please process them in batches.
  • AI-processed code needs to be reviewed manually
  • It is recommended to test the new code before replacing the original file
  • Some functions require an AI model to support the function_call feature.

4. Resolution of common problems

  1. Command not found.
    • Check that the VSCode version meets the requirements
    • Verify that the extension is installed correctly
    • Trying to restart the VSCode
  2. Code-switching language selection issues.
    • Modify .vscode/settings.json
    • set up aide.autoRememberConvertLanguagePairs: false
    • removals aide.convertLanguagePairs configure
  3. Smart Paste Clipboard is empty.
    • Confirmation of Enabled aide.readClipboardImage
    • Check if the AI model supports image recognition
May not be reproduced without permission:Chief AI Sharing Circle " Aide: AI helper extension that enhances the VSCode development experience with one-click annotation, conversion, and UI-generated code

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish