Architecture
The IDE is built on a modular architecture with clear separation between:- Editor APIs - Text editing, syntax highlighting, and code manipulation
- Project APIs - Project management, workspace handling, and file operations
- LSP APIs - Language Server Protocol integration for language features
- Tooling APIs - Gradle Tooling API integration for builds
- Template APIs - Project and file template system
- Action System - Extensible action registration and execution
Getting Started
To start developing plugins for Android Code Studio:- Review the Architecture documentation to understand the IDE structure
- Explore specific API sections based on your extension needs
- Check out Plugin Development for best practices
API Categories
Editor API
Access and manipulate editor instances, text content, and selections
Project API
Manage projects, workspaces, and module structures
LSP API
Implement language servers for code completion and navigation
Tooling API
Interact with Gradle builds and task execution
Template API
Create custom project and file templates
Action System
Register custom actions in toolbars and menus
Package Structure
The API is organized into the following main packages:API Stability
All APIs documented here are considered public and stable unless marked otherwise. Breaking changes will be announced in release notes.Source Code: This documentation is generated from the actual source code at
~/workspace/source/Support
For questions about the API or plugin development:- Check the source code in
~/workspace/source/ - Review example implementations in the codebase
- Report issues on the project’s issue tracker