Skip to content

Repository files navigation

Cosmic IDE

Desktop-class development on Android

A modular development environment for Android. Edit, build, and run projects, an integrated terminal, and a plugin-based architecture.

Android CI License Discord

Download Nightly · User Guide · Discord

Scala code completion in Cosmic IDE
Scala completion powered by Metals
A successful Scala Gradle build in the Cosmic IDE terminal
Integrated build output and task execution
Java error diagnostics and quick fixes in Cosmic IDE
Inline diagnostics and quick fixes
Java code completion in Cosmic IDE while a Gradle application is running
Java completion backed by JDT LS
Java symbol information displayed over the Cosmic IDE editor
Types and documentation in the editor
A Java repository open in the Cosmic IDE project explorer
Touch-friendly project explorer

Core architecture

Cosmic IDE provides a complete Linux-based development environment inside an Android app. It isn't just a text editor; it's a runtime that hosts genuine compilers, build systems, and language servers.

  • Intelligent Workspace: Multi-tab editor with LSP support, inline diagnostics, and Material 3 design.
  • Linux Environment: Run compilers and shells within an app-private environment compatible with Arch Linux ARM.
  • Integrated Terminal: A full-featured PTY terminal. Install and run tools from the official Arch Linux ARM repositories using pacman.
  • Responsive UI: Optimized for touch, keyboard, and Android desktop environments like Samsung DeX.

Language & Tooling Ecosystem

The IDE is built on a modular plugin system, allowing support for various languages and build tools to be added or updated independently.

JVM Stack Java, Kotlin, Scala, Gradle, Maven
System & Web Rust (rust-analyzer), C/C++ (clangd), Go, Gleam
Scripting Python, Lua (LuaLS)
Workflows Git integration, custom project templates, and shell-based commands

Manage and install language support directly from the in-app Plugin Marketplace.


Features

  • Editor: Syntax highlighting, auto-completion, navigation, and customizable themes via TextMate.
  • Build System: Execute tasks (Gradle, Cargo, Maven, etc.) with real-time output in integrated tool windows.
  • Package Management: Use pacman to install CLI tools, compilers, and utilities from Arch Linux ARM.
  • Git Workflows: Built-in support for cloning, branching, committing, and syncing repositories.
  • Local Control: Your projects remain in app-private storage or shared storage via Android's Document Picker.
  • Extensible: Add custom language servers, TextMate grammars, and project templates without modifying the app's source.

Quick Start

  1. Install: Download the latest nightly APK.
  2. Bootstrap: Follow the guided setup to install a JDK and the base Linux environment.
  3. Coding: Create a new project or clone a repository.

Detailed documentation is available in the User Guide.


Documentation

Support the project

Cosmic IDE is free and open source. If you find it useful, consider supporting its development.

Support Cosmic IDE on Open Collective

License

Cosmic IDE is licensed under the GNU General Public License v3.0.