Write, build, and run real applications directly on your Android phone, tablet, or desktop setup.
Cosmic IDE turns your Android device into a complete development environment. It combines an intelligent editor, real compilers and build tools, full Git integration, and an interactive terminal.
- Autocomplete & Diagnostics: Real-time error checking, type inspection, and signature help via Language Server Protocol (LSP) integrations.
- Modern Code Editor: Multi-tab editing, sticky scroll, Code Minimap, inline Find & Replace, bracket auto-completion, and custom font support.
- Themes & Styling: Built-in syntax themes (One Dark, Nord, Dracula, Monokai, Solarized) with support for custom TextMate themes and grammars.
- Side-by-Side Previews: Live visual previews for Markdown, HTML, and images alongside your source code.
- Plugin-Driven Build System: Automatic project sync, task runner, and streaming build logs in bottom tool-windows for installed build plugins and project templates.
- Custom Project Workflows: Support for Gradle, Cargo, CMake, Maven, npm, and custom shell-based project creation, sync, build, and run commands.
- JDK Management: Download and switch between Java Development Kits directly in settings via Foojay.
- Background Task Protection: Runs builds, long-running processes, and background servers safely without OS process termination.
- Dedicated Git Interface: Manage changes, stage files, review commit history, switch branches, and push/pull from remotes.
- Built-in Linux Terminal: Interactive terminal shell with job control and
pacmanpackage manager to install compilers and tools.
Cosmic IDE supports languages and build tools through language servers and installable marketplace plugins:
| Category | Languages & Tools Supported |
|---|---|
| JVM Stack | Java (JDT LS), Kotlin (Kotlin LS), Scala (Metals) |
| System & Native | Rust (rust-analyzer), C/C++ (clangd), Go, Gleam |
| Scripting & Web | Python (pyright), Lua (LuaLS), HTML, Markdown |
| Build Tools | Gradle, Maven, Cargo, CMake, npm, custom project types |
| Custom Language Support | Add any stdio Language Server with custom starter scripts |
- Download: Get the latest nightly APK.
- Setup: Follow the quick initial setup to install a JDK and language toolchain.
- Start Coding: Create a new project, clone a Git repository, or open local files.
For detailed instructions and tips, check the User Guide.
- User Guide: Workspace overview, Git workflows, and build systems.
- Settings Reference: Personalizing themes, fonts, and controls.
- Plugin Development Guide: Creating and publishing plugins.
- Codebase Architecture: Technical details for contributors (glibc layer, process execution, runtime shims).
- Development Guide: Building Cosmic IDE from source.
Cosmic IDE is free and open source under GPLv3. If you find it useful, consider supporting its development.
Cosmic IDE is licensed under the GNU General Public License v3.0.