Skip to content
/ aide Public

Master Any Code: One-Click Comments and Language Conversion. 掌握任何屎山代码:一键注释和语言转换。💪

License

Notifications You must be signed in to change notification settings

nicepkg/aide

Repository files navigation

Aide

English / 简体中文 🌏

Master Any Code: One-Click Comments and Language Conversion. 💪

掌握任何屎山代码:一键注释和语言转换。💪

Version Downloads Rating License GitHub stars

Features ✨

  • 🔄 Code Conversion: One-click code transformation between languages.
  • 📖 Code Annotation: One-click detailed comments for better readability.
  • 📋 Quick Copy: Copy files/folders as AI prompts instantly.
  • 💬 Custom Commands: Execute custom AI commands on selected files.
  • 🎛 Prompt Templates: Define flexible AI prompt templates.
  • 📁 Multi-File Support: Select multiple files/folders for AI prompts or commands.
  • 🚫 Ignore Patterns: Exclude files/folders using custom glob rules.
  • Keyboard Shortcuts: Set your preferred shortcuts for features.

Installation 📦

  1. Open Visual Studio Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Aide"
  4. Click Install

Usage 🛠

1. Aide: Code Convert

Convert selected code from one programming language to another using AI.

How to Use:

  • Select code in the editor.
  • Click the paper-like icon in the top right corner or right-click and choose ✨ Aide: Code Convert.

2. Aide: Code Viewer Helper

Add comments to the selected code to make it readable for beginners, using AI.

How to Use:

  • Select code in the editor.
  • Click the book-like icon in the top right corner or right-click and choose ✨ Aide: Code Viewer Helper.

3. Aide: Copy As AI Prompt

Copy selected files' contents into the clipboard, formatted as a prompt for AI interaction.

How to Use:

  • Select files or folders in the Explorer.
  • Right-click and choose ✨ Aide: Copy As AI Prompt.

4. Aide: Ask AI

Prepare and execute custom AI commands based on selected files and user input.

How to Use:

  • Select files or folders in the Explorer.
  • Right-click and choose ✨ Aide: Ask AI.
  • Enter your question when prompted.

5. Customizing Keyboard Shortcuts

Assign custom keyboard shortcuts to these commands for faster access:

  1. Open the Keyboard Shortcuts editor (Ctrl+K Ctrl+S or Cmd+K Cmd+S).
  2. Search for the desired Aide command.
  3. Click the plus icon next to the command and press your desired key combination.

Enhance your productivity with Aide's AI-powered features. Install now and experience a smarter way to code!

For more, see: Document

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request. See the contributing guide for more details.

This project exists thanks to all the people who contribute:

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Support 💖

If you find this project helpful, please consider giving it a ⭐️ on GitHub!

Star History ⭐

Star History Chart