# AI Code Explainer

Explain complex code using AI. Get detailed explanations of code functionality, algorithms, and logic in plain language.

## Features

- 🤖 **AI-Powered Explanations**: Get detailed code explanations using AI
- 📚 **Plain Language**: Understand code in simple, plain language
- 🔍 **Algorithm Analysis**: Understand algorithms and data structures
- 📝 **Step-by-Step**: Get step-by-step code explanations
- 🎯 **Complexity Analysis**: Understand time and space complexity
- 💡 **Learning Tool**: Perfect for learning and understanding code
- 🔄 **Multi-Language**: Works with all programming languages

## Usage

1. Open any code file in VS Code
2. Select the code you want to explain (or explain the entire file)
3. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
4. Run the command: **"Explain Code with AI"**
5. Review the detailed code explanation

## Commands

- `aiCodeExplainer.explain` - Explain selected code or current file with AI

## Explanation Features

- Code overview and purpose
- Step-by-step breakdown
- Algorithm explanation
- Complexity analysis
- Key concepts and patterns
- Data structure usage
- Control flow explanation

## Requirements

- Visual Studio Code 1.75.0 or higher

## Extension Settings

This extension contributes the following settings:

- No additional settings required

## Use Cases

- **Learning**: Understand unfamiliar code
- **Code Review**: Explain code to team members
- **Documentation**: Generate code documentation
- **Onboarding**: Help new team members understand codebase
- **Debugging**: Understand complex logic

## Known Issues

None at this time. Please report any issues on our [GitHub repository](https://github.com/TechSolutionsPro/ai-code-explainer/issues).

## Release Notes

### 1.0.0

Initial release of AI Code Explainer
- AI-powered code explanations
- Plain language explanations
- Algorithm analysis
- Step-by-step breakdowns

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

MIT License - see [LICENSE](https://github.com/TechSolutionsPro/ai-code-explainer/blob/HEAD/LICENSE) file for details

## Links

- [Repository](https://github.com/TechSolutionsPro/ai-code-explainer)
- [Issues](https://github.com/TechSolutionsPro/ai-code-explainer/issues)
- [Homepage](https://github.com/TechSolutionsPro/ai-code-explainer#readme)

---

**Understand code better with AI Code Explainer!** 📚🤖

