Code Editor
FreeHigh-performance mobile editor with LSP autocomplete, multi-cursor, 19-language execution and an AI agent with inline suggestions. Built so writing code on your phone feels as fast as on the desktop.
Editing engine
Core based on a gap-buffer structure that avoids the O(n) per-keystroke copies typical of other mobile editors. The result: fluid editing even in files with thousands of lines.
- •Real-time syntax highlighting with custom incremental tokenizer
- •Pinch-to-zoom and long-press magnifier for cursor precision
- •Undo/Redo with unlimited history
- •Multi-cursor: add cursors at arbitrary positions and edit in parallel
- •Code folding with persistent per-file state (functions, classes, regions)
- •Visual modified indicator (●) in the file title
Supported languages
Syntax highlighting for 33 languages via TextMate grammars. Auto-detection by extension and by filename (Dockerfile, Makefile, .gitignore…).
Code intelligence
Semantic project navigation and understanding from any file:
Go to symbol
Fuzzy search of functions, classes, methods and properties in the file
Outline panel
Tree with the file structure, navigable with one tap
Peek definition
Inline popup with the definition without leaving the current file
Go to references
Lists every reference to a symbol across the project
Rename symbol
With change preview in code vs strings/comments
Global search
Text or regex across the whole project with extension filter
Auto-import
Detects undefined symbols and suggests the right imports
Command palette
Universal entry point to every action (VS Code style)
Diagnostics & quality
Local diagnostic engine with per-language rules (Kotlin, Java, JS/TS, Python, Go, Rust, PHP, CSS, HTML, JSON) that works without an LSP server.
- •Centralized problems panel in the VS Code style: filtering by severity and file
- •Quick fixes with automatic correction suggestions
- •Universal rules: trailing whitespace, excessive blank lines, TODO/FIXME/HACK
- •Refactorings: extract method or variable with automatic parameter detection
- •On-device formatting for 30+ languages (C-style, Python, XML/HTML, JSON, CSS, YAML, SQL, Markdown)
Run code on device
Pocket Code includes 23 modular runners. Most run locally — some languages activate by installing a lightweight WASM plugin from the Plugin Manager.
Bundled with the app
Via WASM plugin (lightweight download)
As an optional fallback, the Piston remote sandbox can be enabled to cover additional languages or run projects with Cargo, Maven or Gradle.
Run panel
Color-coded stdout/stderr, interactive stdin and live filter
Launch configurations
launch.json equivalent: command, args, env, working dir
Run history
Re-run any previous command with exit code and duration
Stop / Live stdin
Send text to the process or cancel it at any time
Debugging & testing
Breakpoints
Line, conditional, logpoints or exception breakpoints
Step into / over / out
Standard controls with call stack and local/global variables
Automatic test discovery
Jest, Mocha, Vitest, pytest, JUnit, TestNG and 12+ frameworks
Watch mode
Re-runs tests when file changes are detected
Coverage
Per-line, branch and function metrics highlighted in the editor
Snapshot testing
Compares diffs between saved snapshots and new runs
Built-in AI assistant
The editor connects with any of the configured AI providers (see AI Chat module) to offer five specialized tools:
- •Ghost Text: semi-transparent inline suggestions appearing after the cursor; accept with one tap
- •API Generator: REST endpoint scaffolding (Express, FastAPI, Spring Boot, Gin…)
- •Database Schema Generator: SQL schemas, TS types or Python models from natural description
- •Code Translator: convert code between languages preserving logic and patterns
- •Vulnerability Scanner: OWASP Top 10 analysis with CWE mapping
- •Performance Analyzer: Big O complexity, memory patterns and inefficient loops
Developer tools
Eleven built-in productivity tools, fully on-device, nothing sent over the network:
Other bundled utilities: Color Picker, snippets library (with JSON import/export), Pomodoro Timer, persistent scratchpad, TODO panel and keyboard shortcuts reference.
Previews
Markdown
Local render with tables, lists and syntax highlighting in code blocks
Images
PNG, JPG, GIF, WebP, BMP, SVG with zoom and pan
JSON / YAML
Collapsible tree with search and value copy
CSV
Scrollable table with automatic delimiter detection
HTML
Embedded DevBrowser for live preview of web projects
Diff
Unified comparison with color-coded added/removed lines
Mobile experience
- •Symbol bar above the keyboard with braces, parentheses and quick actions (undo, move line, comment, duplicate…)
- •Full Emmet for HTML and CSS: div.cls#id, ul>li*3, m10, df…
- •Split editor to view two files in parallel
- •Zen mode: hides all UI except the text
- •Layout adapts to portrait, landscape, tablet and foldables
- •Full offline mode: edit, run and use Git without connection
- •Launcher app shortcuts and deep links to open files directly