Skip to content
Home
Docs/Code Editor

Code Editor

The editor opens full screen over the app and keeps your tabs when you close it. It highlights 42 languages, offers a one-tap language server for 19 of them, runs code on the device, and adds a command palette, previews, snippets and small tools. This page covers the editor itself; Git and the panels have their own pages.

PocketCode editor on a tablet with hello.py open: the explorer docked on the left with the open tabs and the TaskCLI project tree, the tab strip, Python code, the symbol bar and the status bar
The editor on a tablet: explorer docked on the left, tabs, code, symbol bar and status bar.

What it is and how to open it

The editor is a full-screen layer over the app, not one of the five pages of the pager. Closing it doesn't close your tabs: they are still there when you open it again.

Ways to open it

  • From the pager. Tap a file on the File Explorer page: it opens on the Editor page, the fourth page of the pager. There, Open in editor takes it full screen.
  • From navigation. Go to definition, search results, the AI and workflows open a file at the right line, in a preview tab.
  • From another app. Open or edit a text file with PocketCode and it opens as an On device tab. Nothing is saved, run or switched until you do it.
  • From inside the editor. Open file from device… (menu or palette) opens Android's file picker.
  • To leave. Use the Back gesture. With unsaved changes you get Unsaved changes with Save, Discard and Cancel; with autosave off it says nothing was written.
The Editor page of the pager with hello.py open as a tab and the Open in editor button at the bottom
The Editor page of the pager, with its own tab and the Open in editor button that takes the file full screen.
Full-screen editor on a phone with hello.py open: top bar, tab, Python code, symbol bar, status bar and the Run panel showing the output and exit 0
The editor on a phone with the Run panel open: top bar, tab, code, symbol bar, status bar and the output of hello.py.

Phone, tablet and keyboard

WhereWhat changes
Under 840 dp wide (phones, small tablets)The explorer is a drawer. Open it with Explorer or the ▾ at the end of the tab strip.
840 dp wide or more (tablets)The explorer is docked on the left. The same command shows or hides it, and you can drag its edge to resize it.
Keyboard openThe status bar hides. In landscape the top bar and the tab strip hide too, to leave room for the code.
Zen modeHides the bars and Android's system bars. See The editor screen.
Shortcuts such as Ctrl+P work only with a physical keyboard. On a phone, use the command key of the symbol bar, the More options menu or the palette: they run the same commands.

Screen map

One row per screen and sheet of the editor. The panels that have their own page are in Git and the other panels.

ScreenHow you get thereWhat you can do
Editor (full screen)Open in editor on the Editor page, or a file opened from another appEdit, save and run files. Everything below hangs from here.
Top barAlways on top, except in zen modeFile name and path; DevBrowser, Run, Save file and More options. On Markdown, the preview toggle replaces the first two.
Tab stripUnder the top barSwitch, reorder, pin and close tabs; preview tabs; open in split.
BreadcrumbSettings → Breadcrumb (off by default)Path and current symbol; tap to jump.
Code area—Highlighting, multi-cursor, column selection, bookmarks, snippets, pinch to zoom.
Symbol barAbove the keyboardPer-language symbol keys, undo and redo, and the command key with its cursor pad.
Status barBottom of the screenLine and column, language, encoding, line endings, Git branch, language server and Problems.
Zen modeF11 or Toggle Zen ModeHides the bars; a floating button brings them back.
ExplorerExplorer, the ▾ in the tab strip, or Ctrl+Shift+EOpen tabs and the project tree: create, rename, delete, filter, Git marks.
More options menuThe wrench in the top barEvery command in six sections, with search and quick access.
Command palette and Quick OpenCtrl+P, Ctrl+Shift+P or the command keyOpen files, run commands, jump to a line or a symbol.
Find and replaceCtrl+F or Ctrl+HSearch the open file with case, whole-word, regex and preserve-case options.
Search in FilesCtrl+Shift+FSearch text or a regex across the project and open a result.
Go to and refactor dialogsMenu or paletteGo to line, Go to Symbol, definition, peek, references, Rename Symbol, Auto Import, extract, Quick Fixes, Color Picker.
PreviewsTop bar (Markdown) or the View sectionMarkdown, image, tree view (JSON, YAML) and table view (CSV, TSV).
Split viewCtrl+\ or Open in splitA read-only second pane.
Language, encoding and line endingsTap them in the status barPick the language of a file, the encoding label and LF, CRLF or CR.
Language serversThe LSP item of the status bar, or the commandInstall, update and remove one-tap servers; see which one serves this file.
Run panelRun or F5Output, stop, stdin, filter, copy and jump to the error.
Run with argumentsCtrl+F5 or the Run panelArguments, recent runs and network for WASM engines.
Tasks and launch configurationsIn the Run panelProject tasks and saved run configurations.
Plugin managerSettings → Compilers and runtimesInstall or remove the languages of the app's Linux, and the Go and Rhai runtimes.
Snippets LibraryEdit section of the menu, or the paletteBuilt-in, your own and Showcase snippets.
Dev UtilitiesTools sectionEleven on-device utilities on your selection or clipboard.
Scratchpad, Pomodoro Timer, TODO PanelTools sectionOne note, a work timer and the TODO/FIXME comments of the project.
Keyboard Shortcuts, What's NewTools sectionA searchable list of shortcuts and the changelog.
My themesView section (Pro)Import, create and edit editor themes.
Editor appearanceSettings → Appearance → Editor appearanceChoose the theme, font, size and wallpaper of the editor.

The editor screen

From top to bottom: top bar, tab strip, breadcrumb (if you turn it on), the code, the Run panel while it is open, the symbol bar and the status bar. On a tablet the explorer sits to the left.

Top bar

What you can do

  • Read the file name and, under it, its folder (or the project name).
  • Tap DevBrowser to open the file in the built-in browser, from the project's local server.
  • Tap Run, marked as experimental, to run the file (see Running code).
  • Tap Save file. It is enabled only while there are unsaved changes.
  • On a Markdown file, use Toggle Markdown Preview to switch between the text and the rendered page.
  • Tap More options to open the menu.

What you can't do, and why

  • Use DevBrowser and Run on files opened from another app (On device tabs), or on Markdown files, where the preview toggle takes their place.By design
  • Run a Dart or Swift file: the Run panel says they can't run here yet.Not yet

Status bar

Almost every item is a button. Turn the whole bar off in Settings (Status bar).

ItemWhat it does
Line and column (Ln 12, Col 4)Tap to open Go to line.
Sel 24Appears while text is selected and shows how many characters.
LanguageOpens the language picker for this file.
Encoding (UTF-8)Opens the picker, but only the label changes: files are always read and written as UTF-8.
Line endings (LF)Opens the picker. Choosing one converts the text, and you can undo it.
Git branchOpens Source Control.
LSPState of the language server of this file: ready, connecting, error, none, installing, or not installed (a download icon: tap to install). Opens Language servers.
ProblemsCounts the errors and warnings of the open files and opens the Problems panel.
Saved / UnsavedWhether the file has changes that are not on disk.

Zen mode

Toggle Zen Mode (F11 or the menu) hides the top bar, the tab strip, the breadcrumb and the status bar, and also Android's own system bars; the symbol bar shows only while the keyboard is open. A floating Exit zen mode button fades after three seconds, and Back leaves zen mode too.

Breadcrumb

Turn on Breadcrumb in Settings (it is off by default). It shows the path and the symbol where the cursor is. Tap a folder to list its siblings, the file to open the outline, or a symbol to jump to it.

Editing engine

The editor is built on Sora Editor 0.24.6 with TextMate grammars.

What you can do

  • See the code as you type. Highlighting runs in real time, with line numbers, indent guides, sticky scroll, a magnifier on long-press and pinch-to-zoom.
  • Tune the view in Settings (Editor · writing and Editor · view). Line numbers and color swatches start on; word wrap, the minimap, invisible characters, a column guide (at 80), inlay hints and font ligatures start off.
  • Edit in many places at once. Add Cursors to All Occurrences (Ctrl+Shift+L) puts a cursor on every occurrence of the word under the cursor: type once and it applies to all, tap ✕ to clear them. It works with the on-screen keyboard. Column Selection selects a rectangular block.
  • Undo and redo up to 200 steps per tab, shared by Ctrl+Z, the symbol bar and the menu. A tab that Android unloads from memory keeps its history only if the file is 128,000 characters or less, and only for 8 tabs.
  • Complete and format. Completion comes from the editor's own engine and, when connected, the language server. Format Document (Shift+Alt+F, needs Code formatter on in Settings) tries the language server first and falls back to a built-in formatter for 24 languages: Kotlin, Java, JavaScript, TypeScript, C, C++, C#, Dart, Go, Swift, Rust, PHP, Scala, Gradle, Python, XML, HTML, JSON, YAML, CSS, SCSS, Less, SQL and Markdown.
  • Mark lines. Toggle Bookmark (Ctrl+Alt+K), next (Ctrl+Alt+L), previous (Ctrl+Alt+J) and clear all. Bookmarks live with the open tab: closing the tab or the app drops them.
  • Expand Emmet. Expand Emmet Abbreviation (menu or palette, no shortcut, Tab does not trigger it) handles tags, .class, #id, >, +, *n, {text}, [attrs], aliases such as ! or html:5, and CSS shorthands such as m10 or df. It is a subset: there is no ^ and no $ numbering.
  • Save without thinking. Autosave is on and writes atomically (see Large files, encoding and saving).

What you can't do, and why

  • Fold code. There is no code folding because Sora Editor 0.24.6 does not have it; the structure only feeds the breadcrumb and the outline.Third party

Large files, encoding and saving

Before opening a file the editor looks at its size and content. A big or unusual file turns features off, or isn't loaded, so it doesn't take the app down.

How a file opens

FileHow it opensWhat changes
Binary: a NUL byte, or more than 30 % non-text bytes in the first 8 KBA card saying the file is binaryView image for images, or Open as text (read-only).
80 MB or moreNot opened: Too large to open hereOnly Open with another app (or close).
20 MB or moreRead-only, in light modeYou can read and search it, not edit it.
512 KB or more, 10,000 lines or more, or a line of 2,000 characters or moreLight modeHighlighting, minimap, language server, AI suggestions, autocomplete, word wrap, sticky scroll, lint, color swatches and inlay hints turn off. Enable highlighting anyway brings highlighting back.
Anything elseNormalEverything on.
These thresholds are the editor's own tuning, meant to avoid running out of memory: the 512 KB one comes from a case measured on one phone and the 20 MB and 80 MB ones were not re-measured. Each counts the exact number, so a 512 KB file is already in light mode.

Files outside your projects

  • Open file from device… and Open with PocketCode from other apps use Android's file picker, with no storage permission. The tab says On device.
  • Only valid UTF-8 text of 20 MB or less opens. A file with NUL bytes is refused as binary, and a non-UTF-8 file is refused so it can't be damaged.
  • If the other app didn't allow writing, the tab says On device · read-only: you can edit, then use Save as….
  • Save as… (Ctrl+Shift+S) writes the tab to any location, and the tab now points to that document.

Saving

TopicWhat happens
AutosaveOn by default, every 2 seconds. In Settings, Autosave interval: Off, 1 s, 2 s, 5 s or 10 s. Writes are atomic.
Line endingsLF, CRLF or CR. A save writes the tab's own style; a file with mixed endings keeps each line's own.
BOMA UTF-8 byte-order mark is kept and written back.
.editorconfigThe one at the project root is read. indent_style, indent_size, tab_width, end_of_line and max_line_length (the column guide) are applied. trim_trailing_whitespace and insert_final_newline are read but not applied, and charset only renames the encoding label.
EncodingThe status bar shows UTF-8. The picker offers UTF-8, UTF-16LE, UTF-16BE, ISO-8859-1 and ASCII, but only the label changes: PocketCode reads and writes UTF-8 only. The Change File Encoding command of the palette cycles through seven labels instead (UTF-8, ISO-8859-1, US-ASCII, UTF-16, UTF-16BE, UTF-16LE and Windows-1252), with the same effect.
Trailing spacesEvery save removes the trailing whitespace of every line. There is no switch, and .editorconfig can't turn it off. In Markdown that includes the two trailing spaces used for a hard line break.
Changed on diskIf the file changes on disk while you have unsaved edits, a banner says Changed on disk while you have unsaved edits. with Compare, Reload and Keep mine.

What you can't do, and why

  • Open a file of 80 MB or more here, or edit one of 20 MB or more.Device
  • Read or write other encodings: the editor handles UTF-8 text only, and the encoding picker is a label.Not yet
  • Keep trailing spaces when you save: they are always trimmed.By design
  • Open a file from another app that is not UTF-8 text, has NUL bytes or is over 20 MB.By design

Tabs

The strip under the top bar is visible with any number of tabs, except in zen mode and in landscape with the keyboard open.

What you can do

  • See the state of each tab. The active one is underlined, ● marks unsaved changes, ✕ closes the active one, a spinner shows while it loads and ⚠ marks a read error or a change on disk.
  • Use preview tabs. Files opened by navigation reuse one italic tab. It becomes a normal tab when you edit it, save it, double-tap it or choose Keep open. Turn the behaviour off in Settings (Open in preview when navigating). A restored tab never comes back as a preview.
  • Reorder. Press and hold, then drag; or use Move left and Move right in the tab menu.
  • Pin. Pin and Unpin in the tab menu. Pinned tabs stay apart from the others and bulk closes never close them.
  • Close in bulk. Close, Close others, Close to the right, Close saved and Close all. Reopen closed tab (Ctrl+Shift+T) brings back up to 20 closed tabs.
  • Copy paths and split. Copy path, Copy relative path and Open in split are in the tab menu.
  • Come back to where you were. Tabs (pinned included), cursor, selection and scroll are restored per project when you reopen it. A restored tab loads only when you open it. The Editor page of the pager saves this.

What you can't do, and why

  • Keep more than 20 tabs: opening the 21st closes the least recently used tab without unsaved changes and shows Closed … (limit of 20 tabs) with an undo. If every tab has changes or is pinned, it opens anyway, above the limit.Device
  • Keep the text of every tab in memory: only 4, 6 or 10 tabs, depending on the memory of the phone, stay loaded; the others reload when you switch to them.Device

Menu, command palette and Quick Open

The palette is a panel pinned at the top, like VS Code's. It has four modes — All, Commands, Files and Symbols — chosen by the first character you type or by how you opened it.

Prefixes

You typeYou get
Nothing (Ctrl+P)Quick Open: files of the project, matched fuzzily by path segments with the matches highlighted, recent files first, up to 50 results.
> (Ctrl+Shift+P)Commands, matched on title, section and description. With no text you see Frequent first, then the sections.
: and a numberGo to that line. It works inside the editor only.
@Symbols of the active file.
The command key (mode All)Files, commands and symbols at once.

Quick Open indexes up to 50,000 files. It skips hidden folders, build and dependency folders, and whatever the project's .gitignore ignores. The first time you open the palette a hint reads Type > for commands, : to jump to a line, @ for symbols.

The More options menu

  • The wrench in the top bar opens a sheet with a search field (Search action…) and a Quick access row: Format, Find, Go to Symbol, Source Control and Run at first, then your Frequent commands once four of them have been used at least twice.
  • Six sections: Edit, View, Go to, Git, AI and Tools. Tools is drawn as cards by group: Run, Project, Collaborate, Utilities and Help & settings.
  • The menu, the palette and the shortcut sheet read from one list of 103 commands, so they agree. A command that doesn't apply is hidden: Run File without a runner, Dependencies or Deploy Project without a project, next and previous bookmark without bookmarks.
  • Encoding, line endings, language and the tab commands are not in the menu: use the status bar, the palette or the keyboard.

What each section holds

SectionCommands
Edit · 28Undo, redo, save, Save as…, Save all, format, Emmet, find and replace, rename, extract method and variable, organize imports, Quick Fixes, Auto Import, multi-cursor, column selection, Snippets Library, Color Picker, move, duplicate and delete line, comment, sort lines, UPPERCASE and lowercase.
View · 13Zen mode, split editor, invisible characters, the Markdown, image, tree and table previews, Compare with…, encoding, line endings, language, Explorer and My themes.
Go to · 23Open File…, Open file from device…, the palette, Search in Files, symbol, outline, line, definition, peek, references, bookmarks, next and previous problem, Problems, Analyze Style (Lint) and the tab commands.
Git · 3Source Control, GitHub PRs & Issues and Local History…. They are covered in Git and the other panels.
AI · 12Ask the AI about the selection (Ctrl+I), explain, generate tests, docs or code from comments, refactor, AI Generators, fix errors, optimize, simplify, modernize and generate.
Tools · 24Run, debug and breakpoints, Run with Arguments…, New Run Configuration, Dependencies, Test Explorer, Open in DevBrowser, Docker Tools, Monitoring, Backend Generators, Deploy Project, Live Collaboration, Dev Utilities, Language servers, Scratchpad, TODO Panel, Pomodoro Timer, Keyboard Shortcuts, What's New and Editor Settings.
The full list of shortcuts, and the keymap presets, are in Settings: Settings · Keyboard shortcuts

Searching a file, searching the project, and moving around the code are three different tools.

Find and replace in the file

  • Ctrl+F opens Find and Ctrl+H opens Find and Replace; both are also in the Edit section.
  • Four option chips: Aa (match case), Whole word, .* (regular expressions) and AB (preserve case when replacing). Previous and Next move between matches; Replace and Replace All act on this file.

Search in Files

  • Ctrl+Shift+F, or Search in Files in the Go to section, opens a full-screen search. Type at least two characters. It shows N matches in M files, and tapping a result opens the file at that line.
  • Options: regular expression, case and whole word.
  • It walks the project without node_modules, .git, build, dist, target, out, venv and similar folders, reads only a fixed list of code and text extensions, skips files of 512 KB or more and stops at 500 results.

Go to

CommandWhat it does
Go to line (Ctrl+G, or : in the palette)A number from 1 to the last line.
Go to Symbol (@ in the palette)Fuzzy search of the functions, classes, interfaces, methods and other symbols of the current file, not of the whole project.
Go to Definition (F12)Uses the language server and, when there is none, patterns for the language.
Peek Definition (Alt+F12)Shows the definition with some lines of context in a popup, without leaving the file.
Find References (Shift+F12)With a language server, the references it finds, possibly in other files. Without one, a text search in the current file only.
Next Problem and Previous Problem (F8, Shift+F8)Jump between the errors and warnings of the file.

Refactoring

CommandWhat it does
Rename Symbol (F2)Shows a preview that separates Code occurrences from Comment/String occurrences, which will not be renamed. Rename All applies it. With a language server it can edit other files: files that are not open are written to disk and open ones get one undo step each. Without one, it renames in the current file with a text pattern.
Auto ImportSuggests an import for symbols that aren't imported yet, from a built-in table of well-known symbols of Kotlin, Java, Python, JavaScript and TypeScript, Go and Rust. It doesn't look up your project's own symbols. Organize Imports (Ctrl+Shift+O) is a separate command.
Extract Method, Extract VariableGenerated per language, with no shortcut.
Quick Fixes (Ctrl+.)One-tap fixes for diagnostics. The editor has its own fixes for JavaScript and TypeScript, Kotlin, Java, Python, CSS, SCSS and Less, Go and Rust.
Color PickerTabs Hex, Palette and Sliders. Insert puts #RRGGBB (or #AARRGGBB) at the cursor or replaces the color under it.

What you can't do, and why

  • Replace across files, preserve case or keep a history of searches in Search in Files: it only searches.Not yet
  • Search files larger than 512 KB, more than 500 results, or file types outside its fixed list.By design
  • Get references across the project without a language server: it falls back to the current file.Not yet

Languages and language servers

Highlighting works for 42 languages and formats; 19 of them also have a language server you install with one tap.

Highlighting

TextMate grammars for C, C++, C#, Kotlin, Java, JavaScript, TypeScript, TypeScript React, Vue, Svelte, Astro, GraphQL, Prisma, Python, Go, Swift, PHP, Ruby, Rust, Dart, XML, HTML, CSS, SCSS, Less, JSON, YAML, Markdown, MDX, SQL, Gradle, Shell, PowerShell, R, Scala, TOML, INI, Properties and Dockerfile. Gradle shares the Kotlin grammar and Properties shares the INI one, so there are 37 distinct grammars. The editor knows .gitignore files but has no grammar for them, and a Makefile opens as plain text. Tap the language in the status bar to set it by hand for that file (highlighting, analysis and language server follow it).

One-tap language servers

A language server gives completion, errors and go to definition. PocketCode installs them for free, from the Language servers sheet.

  1. 1Open a file of a supported language and tap the LSP item in the status bar (a download icon means it isn't installed).
  2. 2In Language servers, find the server for your file. The sheet says what it downloads, from where, how big it is and its license.
  3. 3Tap Install. When it ends, the status bar says the server is ready.
  4. 4Later, Update appears if the app pins a newer version and Uninstall removes it. The sheet shows the total as Installed: N servers · ~X on device.

Each server is a set of JavaScript packages from the public npm registry (registry.npmjs.org), pinned to an exact version and a SHA-512 checksum inside the app. No PocketCode server is involved and a package with native code is refused. They run on the Node.js bundled with PocketCode, from the app's private storage. A server in the project's own node_modules always wins.

ServerPackage · what it servesDownload · on device
TypeScript / JavaScripttypescript-language-server 6.0.1 + TypeScript 6.0.3 · TypeScript, TSX, JavaScript5.0 MB · 26.8 MB
PythonPyright 1.1.414 · Python4.2 MB · 19.5 MB
HTML / CSS / JSONvscode-langservers-extracted 4.10.0 · HTML, CSS, SCSS, Less, JSON13.7 MB · 80.5 MB
Markdownvscode-markdown-languageserver 0.5.0 · Markdown1.7 MB · 8.0 MB
Dockerfiledockerfile-language-server-nodejs 0.15.0 · Dockerfile0.4 MB · 2.5 MB
Bash / Shellbash-language-server 5.8.1, without ShellCheck · Shell3.8 MB · 21.8 MB
YAMLyaml-language-server 1.24.0 · YAML4.2 MB · 19.2 MB
Vue@vue/language-server 3.3.11 · Vue (installs the TypeScript server too)4.0 MB · 23.6 MB
Sveltesvelte-language-server 0.18.4 · Svelte (needs the TypeScript server)5.5 MB · 27.7 MB
Astro@astrojs/language-server 2.17.1 · Astro (needs the TypeScript server)7.2 MB · 38.0 MB
GraphQLgraphql-language-service-cli 3.5.0 · GraphQL, only with a graphql-config file19.5 MB · 96.6 MB
MDX@mdx-js/language-server 0.6.4 · MDX (needs the TypeScript server)2.4 MB · 10.6 MB
Prisma@prisma/language-server 31.12.10 · Prisma6.7 MB · 36.6 MB
Emmet (helper)@olrtg/emmet-language-server 2.8.0 · HTML, CSS, SCSS, Less5.5 MB · 15.1 MB
CSS variables (helper)css-variables-language-server 2.8.4 · CSS, SCSS, Less4.5 MB · 20.0 MB
CSS Modules (helper)cssmodules-language-server 1.5.2 · JavaScript and TypeScript with *.module.css0.7 MB · 3.9 MB
SCSS (Some Sass) (helper)some-sass-language-server 2.3.8 · SCSS0.6 MB · 2.8 MB
Stylelint (helper)stylelint-lsp 2.0.1 + stylelint 15.11 · CSS, when the project configures Stylelint and has it in node_modules2.5 MB · 10.6 MB
UnoCSS (helper)unocss-language-server 0.1.9 · projects with a uno.config.* file2.4 MB · 9.9 MB
Docker Compose (helper)@microsoft/compose-language-service 1.0.0 · Compose YAML0.4 MB · 2.2 MB
GitHub Actions (helper)@actions/languageserver 0.3.61 · .github/workflows/*.yml0.3 MB · 2.0 MB
Angular (helper)@angular/language-server 22.2.0 · HTML and *.component.ts in projects with angular.json (needs the TypeScript server)5.0 MB · 28.4 MB

That is 22 packages: 13 main servers and 9 helpers. Installing all of them is about 100 MB to download and 506 MB on the device. The 19 languages with a one-tap server are TypeScript, TSX, JavaScript, Python, HTML, CSS, SCSS, Less, JSON, YAML, Shell, Vue, Svelte, Astro, GraphQL, Prisma, MDX, Markdown and Dockerfile.

Good to know

  • Helpers run next to the main server, up to 2 at a time: each one is one more Node process, so the editor caps them.
  • YAML never loads remote schemas; PocketCode doesn't download them.
  • GraphQL doesn't start without a graphql-config file in the project root.
  • Tailwind CSS, and PHP through intelephense, work only when the project brings them in its own node_modules.
  • Servers need the Node.js bundled with PocketCode to run, and the network only to install.

What you can't do, and why

  • Install servers for Go, Rust, C and C++, Lua, Swift or Zig. Their servers are native programs, and Google Play doesn't allow apps to download native code.Google Play
  • Install servers for Java, Kotlin, Ruby or Dart. They need a runtime PocketCode doesn't include.Google Play

Running code

Everything runs on your device: there is no remote sandbox. 21 languages and file types run today: 13 come with the app (Kotlin's tools download once) and 8 more install in one tap from the app's Linux, an optional Alpine Linux for 64-bit ARM phones. Python, Ruby, PHP and C get their full versions from there too. Dart and Swift can't run yet.

LanguageRuns withState
JavaScript (.js, .mjs, .cjs, .jsx)Node.js v25.3.0Included
TypeScript (.ts, .tsx)The same Node.js, which strips the types. There is no type checking and no tsc.Included
Python (.py)CPython compiled to WebAssemblyIncluded
Ruby (.rb)Ruby on WebAssemblyIncluded
PHP (.php)PHP on WebAssemblyIncluded
C (.c)TCC 0.9.27, in-process. .c onlyIncluded
Kotlin (.kt, .kts)kotlinc 2.3.21 on the device. The tools are not inside the APK: Google Play downloads them once, about 119 MB, the first time you run a .kt file or build an APK. If the project declares a library the app doesn't bundle, it falls back to a simpler script mode that can fail. The same tools build Android apps: see the Build Android apps page.One-time download from Google Play
Java (.java)BeanShell 2.0b6, a Java-style interpreter, not javac. Experimental and limited: no annotation processing, some reflection behaves differently, and most object-oriented code doesn't run. The JDK isn't offered from Android 17, because Android won't let it start.Included, experimental
Shell (.sh, .bash, .zsh)Android's /system/bin/sh (toybox) for all three. A tool it doesn't ship ends with exit 127.Included, limited
SQL (.sql)Android's SQLite on a scratch database per file name. A first line -- @reset clears it. It is not the engine of the Database module.Included
HTML (.html)It doesn't render: it checks the structure, prints the file:// path and offers Open in DevBrowser, which opens the page from the project's local server.Included
Markdown (.md, .markdown, .mdx)Opens the preview.Included
JSON (.json)Validates the file. It runs nothing.Included
Lua (.lua)Lua 5.4 from the app's Linux.One tap, ~1 MB
Go (.go)Go from the app's Linux. Without the Linux, Yaegi 0.16 on WebAssembly: standard library only, one file, no go get.One tap, ~173 MB, or optional download of 37.96 MB
Rust (.rs, .rhai)rustc and cargo from the app's Linux. .rhai files, and .rs files without the Linux, run on Rhai, a Rust-style scripting language that isn't rustc.One tap, ~370 MB, or optional download of 1.36 MB
Perl (.pl, .pm), R (.r), Zig (.zig), C# (.cs), C++ (.cpp)The real languages from the app's Linux: perl, Rscript, zig, .NET 10 and g++.One tap: ~40, ~76, ~437, ~632 and ~240 MB
Dart, Swift—Not available: they aren't in Alpine Linux

The Run panel

  • A language that isn't installed. The panel says so, with its approximate size and an Install button. The download keeps going if you leave the app, and your file runs when it's ready. The first language also sets up the Linux.
  • The full version. After a run on a limited version (Python, Ruby, PHP, C, Go or Rhai), a chip offers the full language and explains it before downloading anything. With the full Python, a program that stops on No module named gets a chip that installs the library with pip and runs it again.
  • Project tasks. cargo, make, go, python and similar tools run inside the Linux. If one is missing, the panel offers it and repeats the task.
  • Tap Run (marked experimental) or press F5. The panel shows the state, the name of the configuration and an exit N · M ms badge when it ends.
  • Output keeps ANSI colors and tells stdout from stderr. You get Stop, Auto-scroll, Filter output, Copy output and Clear. Debug exists for JavaScript on Node; see Git and the other panels.
  • Type in stdin input… and tap Send to answer a program that reads input.
  • When a run fails on a line, Go to error (line N) jumps there.
  • The panel keeps the last 5,000 lines and drops the oldest tenth when it overflows.

Run with arguments (Ctrl+F5)

  • Type arguments separated by spaces; double quotes group and a backslash escapes. There is no variable expansion.
  • Recent keeps your last 20 runs (arguments, exit code, time) so you can launch one again.
  • Allow network in WASM engines is off by default: WebAssembly modules (Python, Ruby, PHP, Go, Rhai) can't open network connections until you turn it on. Node, C and the shell are not affected.

Tasks and launch configurations

  • Launch configurations work like a launch.json: name, runtime, command, arguments, working directory, environment variables (KEY=VALUE) and a pre-launch command. One can be the default. They are stored on the device, and New Run Configuration appears only when the project is on disk.
  • Project tasks lists what the editor detects: package.json scripts, Makefile targets, Gradle and Cargo.toml.

Optional runtimes (plugin manager)

  1. 1Open Settings and go to the Compilers and runtimes section, row Additional language runtimes.
  2. 2In the Plugin manager, the Languages section lists each language of the app's Linux with Install or Uninstall; removing one asks first. Below it (header Optional compilers), tap Install on Rhai or Go (Yaegi WASI). Cancel stops a download and Uninstall removes it. Opening the screen makes no network request.
  3. 3With no connection, Install … from a file… installs a plugin file you already have; its SHA-256 is checked too.

What you can't do, and why

  • Run Dart or Swift: they aren't in Alpine Linux and the app has no runtime for them.Not yet
  • Run Java with the real compiler: the app doesn't package one, and on Android 17 the JDK from Alpine can't start, because Android won't give it executable memory. Java runs on the BeanShell interpreter.Device
  • Declare your own classes with constructors, instance fields, inheritance or interfaces: on Android BeanShell compiles them to JVM bytecode that the phone can't load ("can't load this type of class file"). Generics, lambdas, enums, records and printf don't run either.Device
  • Run code on a remote server: all execution is local.By design
  • Add Maven libraries: Kotlin libraries are limited to the ones bundled (coroutines, serialization and Okio).By design
  • Count on npm, make, gradle or cargo for project tasks: tasks run through the system shell, and Android doesn't ship those tools.Device
  • Get network access inside WebAssembly programs unless you turn Allow network in WASM engines on.By design

Themes and fonts

The editor's theme, font and size are not set inside the editor: they live in Settings.

Where to change them

  1. 1Open Settings → Appearance → Editor appearance. A live code sample shows the theme you picked.
  2. 2Choose a theme from the Themes gallery (filters All, Dark, Light and Included), a Font and a size (S, M, L or XL). The same sheet sets the editor's wallpaper and its opacity.

The 23 built-in themes

GroupThemes
Default: Same as appThe editor follows the light or dark theme of the app. It is not a theme itself, which is why the gallery counts 24 themes · 5 included: 23 themes plus this entry, with the entry and the four free themes as the five included.
Free (4)PocketCode Dark, PocketCode Light, VS Code Dark+, GitHub Light.
Pro (19)Monokai, Dracula, Solarized Dark, Nord, One Dark, Night Owl, GitHub Dark, Catppuccin Mocha, Ayu Mirage, Solarized Light, Gruvbox Dark, Gruvbox Light, Tokyo Night, Material Palenight, Synthwave '84, Cobalt2, Horizon, Panda Syntax and Rosé Pine.

Fonts

Default is the system monospace font and is free. The other seven are Pro: JetBrains Mono, Fira Code, Source Code Pro, Cascadia Code, Roboto Mono, Ubuntu Mono and Inconsolata. The same gate applies to the terminal's font. Font ligatures (off by default) work on the fonts that have them (Fira Code, JetBrains Mono, Cascadia Code), and line spacing (1, 1.15, 1.3 or 1.5) sits next to it in Editor · view.

My themes (Pro)

  • My themes, in the View section of the menu, lists your themes: Use, Edit theme, Rename and delete (with confirmation).
  • Import theme… reads a .tmTheme (plist) or a VS Code theme .json or .jsonc of up to 1 MB. It needs at least the background and text colors.
  • New theme starts from scratch. The Theme editor has a live preview, the editor colors (background, text, cursor, selection, current line, line numbers) and 8 token colors: keywords, strings, comments, functions, numbers, types, operators and annotations.
  • If the text and background contrast is under 4.5:1 (WCAG AA) you get a warning, and an imported theme says so: Imported — but text/background contrast is below the recommended minimum (4.5:1).
  • On Free, the command shows the Importable themes wall (import files, a basic editor with live preview, a contrast check) with Upgrade.

What you can't do, and why

  • Use the 19 Pro themes, the seven Pro fonts or My themes on Free: they open the Pro wall.Pro
  • Keep more than 50 imported themes: saving one past the 50th silently drops the oldest.By design
  • Import a theme file over 1 MB, or one that isn't .tmTheme or VS Code JSON.By design
  • Share your themes between devices: they are stored on the device only.By design

Previews and split view

Previews open from the top bar or from the View section of the menu.

PreviewWhat you get
Markdown (.md, .markdown, or a file you set to Markdown)Toggle Markdown Preview in the top bar. The editor's own converter renders headings, bold, italic and strikethrough, lists and task lists, quotes, links, images, basic tables and code blocks in a WebView with JavaScript off. Code blocks are plain boxes without syntax colors. MDX has no preview.
Images (.png, .jpg, .gif, .webp, .bmp, .svg)Preview Image: zoom, pan and an info sheet. .ico files are refused as an unsupported type.
JSON and YAMLTree View: a collapsible tree with a key and value filter and expand all. JSON must start with { or [, so comments aren't accepted. YAML is read by a minimal parser, so anchors, flow style and complex multi-line values may not show.
CSV and TSVTable View: the delimiter is detected from the first line (, ; tab |) and you can change it. Search rows; the subtitle reads N rows × M cols.
HTMLRun doesn't render it: it checks the structure and prints the file:// path. The globe button in the top bar and the Open in DevBrowser chip of the Run panel open the file in the built-in DevBrowser, from the project's local server.
Split view (Ctrl+\)Toggle Split Editor shows a second pane: a read-only viewer that mirrors the file, or another file, with line numbers and tap to jump. It is not a second editor. Open in split is in the tab menu.

Symbol bar and touch

The row above the keyboard is built for the phone.

What you can do

  • Use a profile per language. Each of the 41 language modes has its own symbol keys, plus Tab and the ↑ ↓ arrows.
  • Customize it. More actions (⋯) → Customize keys… lets you add, remove and reorder keys. Extra actions you can add: Tab, ← ↑ ↓ →, move line up or down, comment, block comment, duplicate line, go to line, sort lines and UPPERCASE or lowercase. Each language keeps its own profile, and Restore defaults brings back the factory one.
  • Use the command key at the left end. Tap it to open the palette in All mode (Open commands and files). Drag it to move the cursor precisely, or hold and then drag to select. The Cursor pad can be switched off in the ⋯ menu.
  • Undo and redo sit at the right end, next to the ⋯ menu with move line, duplicate, comment, block comment, go to line, sort and case.
  • Learn by doing. Five first-use hints (command key, palette prefixes, multi-cursor, zen and the explorer arrow) show once, at most one per session. Reset editor hints in Settings brings them back.

What you can't do, and why

  • Sync symbol-bar profiles between devices: they live in the device's local preferences.By design
  • See the bar in zen mode unless the keyboard is open.By design

Snippets

Snippets Library, in the Edit section, has two tabs: Local and Showcase.

What you can do

  • Use the 78 built-in snippets for 17 languages (Kotlin 10, JavaScript 10, Python 8, Java 5, Rust 5, TypeScript 4, HTML 4, CSS 4, Go 4, Swift 4, SQL 4, Shell 4, Dart 4, C 2, C++ 2, Ruby 2, PHP 2). They filter by the language of the file, have search and move between $1…$0 fields with Tab.
  • Create and edit your own with Add snippet: name, trigger prefix, optional description and body.
  • Import and export as JSON text: you paste or copy it, there is no file. Importing obeys the same cap of 5 custom snippets on Free: the ones that fit are added and, if any is left out, the limit notice appears.
  • Browse the Showcase, a curated list from the PocketCode Marketplace, cached on the device so it works offline once downloaded. It shows the real author, downloads and rating. Installing needs you to sign in (browsing doesn't) and goes through the normal Marketplace install; what you install moves to Local.

What you can't do, and why

  • Create, install or import a sixth custom snippet on Free: Your plan allows 5 custom snippets. Delete one or upgrade to Pro to install more.​Pro
  • Install a Showcase snippet marked Pro on Free: This snippet is part of Pro.​Pro
  • Sync snippets between devices: they live in the device's local preferences.By design

Notes, timer, TODO and utilities

Small panels in the Tools section of the menu. They open as sheets over the editor.

Scratchpad

One note for the whole app, not one per project. It saves with Save and when you close the panel, shows a character count and can be cleared. It is stored on the device.

Pomodoro Timer

25 minutes of Focus, 5 of Short Break, and after four focus rounds a 15-minute Long Break. Start, Pause, Reset and Skip; it counts completed rounds and beeps when a phase ends. The timer belongs to the panel: PocketCode runs no service and sends no notification, so keep the panel open.

TODO Panel

Scans the whole project for TODO, FIXME, HACK, NOTE, BUG, XXX and WARN in comments (//, #, /*, <!--, --, %, ;). Filter by type, group by file or use a flat list, and tap to jump. It reads a fixed list of code and text extensions and skips files of 512,000 bytes or more, and hidden and build folders.

Dev Utilities

Eleven on-device tools: JSON / XML Formatter, Base64 Encode / Decode, URL Encode / Decode, UUID Generator, Hash Generator (MD5, SHA-1, SHA-256, SHA-512), Timestamp Converter, Color Converter, Lorem Ipsum Generator, Regex Tester, JWT Decoder and Diff. They work on your selection or, if there is none, the clipboard. The result has Copy, Insert or Replace selection.

Keyboard Shortcuts

A searchable list (Ctrl+Shift+/) generated from the real commands, with the keys of your keymap.

What's New

The changelog, under the subtitle Changelog & updates.

The editor's explorer

The editor has its own explorer, which is not the File Explorer page of the pager. It is a VS Code-style panel: a drawer on phones and docked on the left on screens 840 dp wide or more. Open it with Explorer (Ctrl+Shift+E), the ▾ in the tab strip or, on a tablet, the same command to show or hide it.

What you can do

  • Switch tabs. The Open section lists the open tabs, with Save all and Close all.
  • Browse the project tree, loaded folder by folder. Folders come first, then names without regard to case. .git and .pocketcode are never listed; ignored entries (by .gitignore or build and dependency folders) show dimmed but visible.
  • Create. New file and New folder; a / in the name creates subfolders too.
  • Rename, delete and copy. Rename, Delete (it asks first: The file is deleted from the device. Its local history is kept., and warns about open tabs with changes), Copy path and Copy relative path.
  • Find your way. Refresh, Collapse all, Show the active file and Filter by name, which uses the Quick Open index.
  • See Git state. Marks M modified, A added, U untracked, D deleted and R renamed, a dot on folders (Contains changes), and a footer with the branch, commits to push or pull and the number of changes.
  • Resize the docked panel by dragging its edge: at least 200 dp and at most 45 % of the window. The width is remembered.

What you can't do, and why

  • Copy, cut, paste, duplicate or multi-select files here. Those belong to the File Explorer page.By design
  • Choose a sort order or hide dotfiles: the order is fixed and only .git and .pocketcode are hidden.By design
  • See a conflict or ignored mark with its own letter: there are five marks, and ignored entries are dimmed.By design
  • Browse files with no project open: you get only the tabs and a message (No project is open. Open one to see its files here.).​By design
The File Explorer page of the pager on a tablet showing the TaskCLI project with 3 folders and 4 files and the icon rail on the left
The File Explorer page of the pager, not the editor's explorer: a different tree with its own menu.

These tools open from the same menu but have their own pages.

WhatWhere it is covered
Source Control (it reports each commit, push, pull, merge and stash with a message, and resolves merge conflicts), GitHub PRs & Issues, blame, file history, branch comparison, rebase, cherry-pick, stage by hunk, Local History… and Compare with…Git & GitHub
Debug, Test Explorer, Docker Tools, Monitoring, Dependencies, Backend Generators, AI Generators and the AI code actions, Live Collaboration, Problems and OutlineEditor tools
Your selection in the AI: Ask AI About Selection (Ctrl+I), explain, tests, docs, refactorThey use the providers you configure and ask for your consent first. Apply replaces only the code that was sent (the function or the selection) and warns if it changed in the meantime; Copy puts the result on the clipboard. See Editor tools.

Free and Pro

Almost everything in the editor is the same on Free and Pro. The differences, from the app's plan table:

FeatureFreePro
Editing, tabs, search, navigation, previews, explorer, snippets built in, scratchpad, TODO, Dev UtilitiesIncludedIncluded
Highlighting (42 languages) and language servers (22 packages)IncludedIncluded
Running code and the optional languagesIncludedIncluded
Git, local history and AI with your own keyIncludedIncluded
Editor themes4 themes and Same as app (the default)All 23 themes
My themes: import .tmTheme and VS Code JSON, create and edit with a contrast checkNoYes
Editor and terminal fontsDefault (system monospace)Default and 7 more
Custom snippets5No plan limit
Showcase snippets marked ProNoYes
If a Pro plan ends, a Pro editor theme (built-in or imported) goes back to Same as app, and so do the free PocketCode Dark and PocketCode Light (only Same as app, VS Code Dark+ and GitHub Light are kept); any editor font other than Default goes back to Default; nothing else in the editor changes, and the terminal's font and theme are not reset. The plan table of the whole app is in Plans & Pricing

Keyboard shortcuts

These keys work only with a physical keyboard (Ctrl, or Cmd where the keyboard has it). On a phone, use the command key, the menu or the palette. Ctrl+P and Ctrl+Shift+P follow the keymap you choose in Settings; the rest are the keys below.

KeysAction
Ctrl+P · Ctrl+Shift+PQuick Open · Command Palette
Ctrl+S · Ctrl+Shift+S · Ctrl+Alt+SSave · Save as… · Save all
Ctrl+Z · Ctrl+Shift+Z (or Ctrl+Y)Undo · Redo
Ctrl+F · Ctrl+H · Ctrl+Shift+FFind · Find and Replace · Search in Files
Ctrl+G · F12 · Alt+F12 · Shift+F12Go to line · Definition · Peek · References
F2 · Ctrl+. · Ctrl+Shift+ORename Symbol · Quick Fixes · Organize Imports
Ctrl+Shift+LAdd Cursors to All Occurrences
Ctrl+D · Ctrl+Shift+K · Ctrl+/Duplicate line · Delete line · Toggle comment
Ctrl+Shift+↑ · Ctrl+Shift+↓Move line up · Move line down
Ctrl+] · Ctrl+[Indent selection · Unindent selection
Shift+Alt+FFormat Document
Ctrl+Shift+E · Ctrl+\ · F11Explorer · Split editor · Zen mode
Ctrl+Tab · Ctrl+Shift+Tab · Ctrl+W · Ctrl+Shift+TNext tab · Previous tab · Close tab · Reopen closed tab
Ctrl+Alt+MChange language mode…
Ctrl+Alt+K · Ctrl+Alt+L · Ctrl+Alt+JToggle · next · previous bookmark
F8 · Shift+F8 · Ctrl+Shift+MNext problem · Previous problem · Problems
F5 · Ctrl+F5 · Shift+F5Run File · Run with Arguments… · Debug File
Ctrl+I · Ctrl+Shift+GAsk AI About Selection · Source Control
Ctrl+Shift+/ · Ctrl+,Keyboard Shortcuts · Editor Settings

Privacy and security

  • Your code stays on the device. Editing, running, highlighting, previews and the small tools need no connection. Only installing language servers, plugins and Showcase snippets does.
  • What is downloaded is pinned. Language servers come from the public npm registry (registry.npmjs.org) and plugins from the public GitHub repository Pocket-Code-App/pocketcode-plugins. PocketCode runs no server in between. Each file is checked against a checksum fixed inside the app (SHA-512 for servers, SHA-256 for plugins) and refused if it doesn't match.
  • Running is local. There is no remote sandbox, and WebAssembly programs have no network until you turn on Allow network in WASM engines.
  • Your notes and editor data stay on the device. The scratchpad, custom snippets, symbol-bar profiles, run history, launch configurations, imported themes and per-file language choices live in the app's local preferences and are not synced between devices.
  • Files from other apps open through Android's file picker, with no storage permission: PocketCode gets access only to the file you pick or share.
  • AI actions ask first. They send the code you select to the provider you configured, with your own key, and each provider asks for your consent before anything is sent.

Limitations

What the editor can't do today, and why. The sections above list more detail for each tool.

  • Code folding does not exist: the editor engine doesn't have it.Third party
  • The editor reads and writes UTF-8 only; the encoding picker changes a label.Not yet
  • Every save trims the trailing spaces of every line, and .editorconfig can't turn it off.By design
  • Files of 512 KB or more, 10,000 lines or more, or with a line of 2,000 characters or more open in light mode; 20 MB or more are read-only; 80 MB or more aren't opened. The thresholds are tuning, not guarantees.Device
  • 20 tabs is the soft limit, and only 4, 6 or 10 keep their text in memory.Device
  • Search in Files can't replace, keeps no history, stops at 500 results and skips files of 512 KB or more.Not yet
  • No one-tap language server for Go, Rust, C and C++, Lua, Swift or Zig (native programs), or for Java, Kotlin, Ruby or Dart (they need a runtime PocketCode doesn't include).Google Play
  • Dart and Swift can't run: they aren't in Alpine Linux.Not yet
  • Java runs on the BeanShell interpreter, not on a compiler.Not yet
  • TypeScript runs with its types stripped, without type checking. Without the Linux, Rust runs as Rhai scripting and Go runs one standard-library file without go.mod.​By design
  • Project tasks need npm, make, gradle or cargo on the phone, which Android doesn't ship.Device
  • The Markdown preview doesn't color code blocks, and HTML isn't rendered by Run.​Not yet
  • Auto Import knows only a table of well-known symbols of six languages, and Emmet is a subset.Not yet
  • Pro themes, Pro fonts, My themes, more than 5 custom snippets and Pro Showcase snippets need Pro.Pro
  • Imported themes are capped at 50 (the oldest is dropped without warning) and at 1 MB each.By design
  • Quick Open indexes up to 50,000 files and shows 50 results.By design

Troubleshooting

Light mode (…): no highlighting, minimap, LSP or AI suggestions

The file is 512 KB or more, has 10,000 lines or more, or has a line of 2,000 characters or more (typical of minified code). You can still edit. Tap Enable highlighting anyway to bring highlighting back, at the cost of speed.

Too large to open here (…)

The file is 80 MB or more. Only Open with another app is offered. From 20 MB a file opens Read-only.

… is a binary file

The first 8 KB have a NUL byte or too many non-text bytes. View image shows images; Open as text (read-only) shows the raw bytes as text.

Changed on disk while you have unsaved edits.

The file changed on disk after you started editing. Compare shows the differences, Reload discards your edits and Keep mine keeps them.

Could not save

Your changes are still in the editor. The message that follows says why, for example a missing permission. Fix it and tap Save file again; while the error stands the button reads Retry save, error saving.

N tabs are open and none can be closed without losing changes. Save or close some.

The editor keeps up to 20 tabs and closes the least recently used one without changes to make room, but every tab has changes or is pinned. It opened your file anyway, above the limit. Save or close some tabs.

Closed … (limit of 20 tabs)

Opening the 21st tab closed the least recently used tab that had no unsaved changes. The message has an Undo.

The file is not UTF-8 text; it was not opened so it cannot be damaged.

Files from other apps and Open file from device… must be valid UTF-8. PocketCode refuses anything else instead of rewriting bytes it doesn't understand. Convert the file to UTF-8 elsewhere first.

The file is too large to open (limit 20 MB).

Files outside your projects, opened through Android's picker, are limited to 20 MB. Files inside a project follow the size modes of Large files, encoding and saving.

This file is read-only: the app that shared it did not allow changes. Use “Save as…” to keep your changes in a new file.

You can still edit the tab. Use Save as… (Ctrl+Shift+S) to write the result somewhere you can write.

Couldn't reach the npm registry. Check your connection and retry.

Language servers install from registry.npmjs.org. Retry on a connection that reaches it. If it says The npm registry refused the download. Retry later., the registry answered with an error.

The download didn't match the expected checksum and was discarded.

The file did not match the SHA-512 pinned in the app, so nothing was installed. Retry, preferably on another connection.

A package contained native code and was not installed.

The installer refuses native code and unsafe package contents on purpose (A package had unsafe contents and was not installed.): it is how PocketCode follows Google Play's rules.

Not enough free space on the device.

A server needs up to about 97 MB on the device (GraphQL), and all 22 together about 506 MB. Free some space or uninstall the servers you don't use.

Node.js isn't available on this device, so language servers can't run.

Servers run on the Node.js bundled with PocketCode, so none can start. Highlighting and the editor's own checks keep working.

The language server stopped with an error.

Open Language servers to see which one and reinstall or update it. For GraphQL, check that the project has a graphql-config file.

Go has no one-tap server: gopls is a native program, and Google Play doesn't allow apps to download native code.

The same applies to Rust, C and C++, Lua, Swift and Zig. For Java, Kotlin, Ruby and Dart the message says instead that the server needs a runtime PocketCode doesn't include. Highlighting and the editor's built-in checks still work.

Unrecognized format. Pick a .tmTheme or VS Code JSON theme file.

Only .tmTheme and VS Code .json or .jsonc themes import. If it says File is too large for a color theme. the file is over 1 MB, and The file could not be parsed — it looks corrupted or malformed. means it can't be read.

The theme is missing required editor colors (background/foreground).

The file has no background or no text color. Add them in the file, or build the theme in New theme.

Imported — but text/background contrast is below the recommended minimum (4.5:1).

The theme imported, but some code may be hard to read. Open Edit theme and adjust the colors until the warning goes away.

Your plan allows 5 custom snippets. Delete one or upgrade to Pro to install more.

Free has a limit of 5 custom snippets. Delete one, or move to Pro. If you see No connection, and the snippets haven't been downloaded yet, open the Showcase once online: after that it also works offline. Sign in to install Marketplace snippets means installing needs an account, browsing doesn't.

That name is not valid · A file or folder with that name already exists · That path is outside the project

These are the explorer's checks when you create or rename. Use a name without forbidden characters, one that isn't taken, and a path that stays inside the project.

The Run button is greyed out

The file has no runner that can run it right now: it's a type without a runner, Dart or Swift. A language you haven't installed still shows Run: tap it and the panel offers the install. Run is not shown on Markdown files or on On device tabs. See Running code.