Skip to content

Repository files navigation

Cosmic IDE

Complete Software Development on Android

Write, build, and run real applications directly on your Android phone, tablet, or desktop setup.

Android CI License Discord

Download Nightly · User Guide · Discord

Scala code completion in Cosmic IDE
Scala completion powered by Metals
A successful 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 an 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 repository open in the Cosmic IDE project explorer
Touch-friendly project explorer

What You Can Do

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.

Code Intelligence

  • 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.

Build & Run

  • 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.

Full Version Control & Terminal

  • 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 pacman package manager to install compilers and tools.

Supported Languages & Build Systems

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

Quick Start

  1. Download: Get the latest nightly APK.
  2. Setup: Follow the quick initial setup to install a JDK and language toolchain.
  3. Start Coding: Create a new project, clone a Git repository, or open local files.

For detailed instructions and tips, check the User Guide.


Documentation


Support the Project

Cosmic IDE is free and open source under GPLv3. 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.

Used by

Contributors

Languages