IDE demo // Rust

Tidepool

A zero-dependency IDE written in Rust from the ground up: a native GUI in jabbott.dev's style, a terminal UI with vim-style editing, first-class Rust and Markdown, managed toolchains, Android and iOS builds, and AI through plugged-in agents. So far it draws only its first frame, in a window this page cannot show, so below are its gate and two of its libraries, run on the build named beside them.

Live build // ad0c734

cargo xtask ciLinux x86_64

$ cargo xtask ci
…each step's output…
== summary
deps          ok                   0.0 s
fmt           ok                   0.9 s
clippy        ok                   6.6 s
test          ok (29 SKIPPED)     92.7 s
golden        ok                   1.2 s
layers        ok                   0.0 s
crates        ok                   0.0 s
features      ok                   0.0 s
unsafe-audit  ok                   0.1 s
headers       ok                   0.0 s
workflows     ok                   0.0 s
ucd           ok                   0.0 s
theme         ok                   0.0 s
tools         not yet implemented (roadmap M5.1)
ci: ok (29 tests SKIPPED): 13 of 13 steps passed; not yet implemented: tools

The gate

CI runs this gate on Linux, macOS and Windows for every pull request and every push to main, and this page is published only from a commit of main that passed it on all three. It refuses any crate from outside the workspace and any edge the layer matrix does not allow; it checks formatting, lints with warnings as errors and runs every test; it draws the golden scenes and compares them pixel for pixel with their committed references; and it checks the members' manifests and READMEs, the features below against the roadmap, every unsafe block, the license headers, the workflows' pinned actions and the generated Unicode tables.

Steps
13 of 13 passed
Tests
2,281 passed
Skipped
29
Time
1 min 42 s

Run on Linux x86_64 by the job that published this page, with Rust 1.99.0. A skipped test printed SKIPPED: because what it needs is missing there: it did not pass.

crates/codec/examples/formats.rsLinux x86_64

$ cargo run -p tidepool-codec --example formats
== JSONC → JSON ==
jsonc  │ {
jsonc  │   // Settings as a person writes them.
jsonc  │   "theme": "dark",
jsonc  │   "rulers": [80, 100,],
jsonc  │   "title": "caf\u00e9 \ud83c\udf0a", /* one emoji, two escapes */
jsonc  │   "id": 18446744073709551615,
jsonc  │ }
json   │ {"theme":"dark","rulers":[80,100],"title":"café 🌊","id":18446744073709551615}
       │ read back as strict JSON: the same value
       │ "id" stays an exact u64; an f64 would round it to 18446744073709551616
strict │ JSON error at line 2, column 3 (byte 4): comments are allowed in JSONC, not in JSON

== TOML 1.1: each line, and the values the parser found on it ==
title = "caf\xE9 \U0001F30A"  │ title            string            "café 🌊"
born = 1979-05-27 07:32-08:00 │ born             offset date-time  1979-05-27T07:32:00-08:00
lints = { unsafe = "deny",    │ lints            inline table      2 keys
                              │ lints.unsafe     string            "deny"
  unwrap = "deny", }          │ lints.unwrap     string            "deny"
[package]                     │ package          table             3 keys
name = "tidepool"             │ package.name     string            "tidepool"
version = '0.1.0'             │ package.version  string            "0.1.0"
edition = 2024                │ package.edition  integer           2024
[[bin]]                       │ bin              array of tables   2 tables
                              │ bin[0]           table             2 keys
name = "tp"                   │ bin[0].name      string            "tp"
test = false                  │ bin[0].test      boolean           false
[[bin]]                       │ bin[1]           table             3 keys
name = "tp-bench"             │ bin[1].name      string            "tp-bench"
nightly = 07:30               │ bin[1].nightly   local time        07:30:00
ratio = 1_500.5e-3            │ bin[1].ratio     float             1.5005
TOML 1.1 here: \xE9, times without seconds, an inline table on two lines, a trailing comma

== Errors say where, and what was wrong ==
json │ {"tab_size": 04}
     │              ^
     └ JSON error at line 1, column 14 (byte 13): numbers cannot have leading zeros
toml │ path = "C:\Program Files"
     │           ^
     └ TOML error at line 1, column 11 (byte 10): invalid escape sequence in a string
toml │ name = "tidepool"
     │ name = "tidewater"
     │ ^
     └ TOML error at line 2, column 1 (byte 18): the key is already defined

== Limits: nesting is bounded, and deep input cannot overflow the stack ==
JSON, Limits { max_depth: 4, ..Limits::DEFAULT }
  [[[[1]]]]        accepted
  [[[[[1]]]]]      refused at column 5: arrays and objects nest deeper than the limit of 4
TOML, Limits { max_depth: 4, ..Limits::DEFAULT }
  a.b.c.d.e = 1    accepted
  a.b.c.d.e.f = 1  refused at column 9: tables and arrays nest deeper than the limit of 4
JSON, Limits::DEFAULT (max_depth: 128)
  "[" × 100,000    refused at column 129: arrays and objects nest deeper than the limit of 128

Formats

JSON and JSONC read and written, and TOML 1.1 read, by tidepool-codec's own code, with no third-party crate. Every parser takes limits on size and depth, reports an error with its line and column, and never panics on input: each has a fuzz target that CI runs for every pull request and push to main.

Its output, as the job that published this page ran it on Linux x86_64.

crates/text/examples/editing.rsLinux x86_64

$ cargo run -p tidepool-text --example editing
== Rope: lines and positions ==
text  "Tidepool\r\nnaïve 😀 café\nend\rlast"
line 0  bytes  0..8   break CR LF  "Tidepool"
line 1  bytes 10..27  break LF     "naïve 😀 café"
line 2  bytes 28..31  break CR     "end"
line 3  bytes 32..36  break none   "last"
4 lines: 1 LF, 1 CR LF and 1 CR; mixed: yes
"café" starts at byte 22; its line and column, and back:
  in UTF-8 bytes   line 1, column 12  →  byte 22
  in UTF-16 units  line 1, column 9   →  byte 22
  in chars         line 1, column 8   →  byte 22
a position inside a character is an error, never a panic:
  between the halves of 😀 in UTF-16: error: UTF-16 column 7 of line 1 is inside a character
  in the middle of ï in UTF-8:        error: byte offset 13 is inside a character

== Grapheme clusters (UAX #29, Unicode 17.0.0) ==
text  é👩‍💻🇯🇵!  23 bytes, 12 UTF-16 units, 8 chars, 4 clusters
  bytes   chars  code points             cluster
  0..3    2      U+0065 U+0301           é
  3..14   3      U+1F469 U+200D U+1F4BB  👩‍💻
  14..22  2      U+1F1EF U+1F1F5         🇯🇵
  22..23  1      U+0021                  !
the cursor moves by cluster: bytes 0 → 3 → 14 → 22 → 23 (5 of the 9 char boundaries)

== Edits through the undo tree: | is a caret, [ ] a selection ==
start                     revision 0  saved     |one\n|two\n|three\n
type "- " at 3 carets     revision 1  modified  - |one\n- |two\n- |three\n
select the words          revision 1  modified  - [one]\n- [two]\n- [three]\n
uppercase them            revision 2  modified  - [ONE]\n- [TWO]\n- [THREE]\n
undo                      revision 1  modified  - [one]\n- [two]\n- [three]\n
capitalize: a new branch  revision 3  modified  - [One]\n- [Two]\n- [Three]\n
jump to revision 2        revision 2  modified  - [ONE]\n- [TWO]\n- [THREE]\n
undo, undo                revision 0  saved     |one\n|two\n|three\n
redo                      revision 1  modified  - |one\n- |two\n- |three\n
4 revisions, the root included: no edit was lost

== Decoding, and the atomic save ==
bytes    FF FE 68 00 E9 00 20 00 3C D8 0A DF 0D 00 0A 00  (16 bytes)
decoded  "hé 🌊\r\n": UTF-16 LE with BOM, read-only: no
saved    notes.txt unchanged: 16 bytes, the same bytes as read
edited   "hé 🌊 ok\r\n", saved: notes.txt is 22 bytes; modified: no
loaded   notes.txt: UTF-16 LE with BOM, 1 CR LF, equal to the edited text: yes
bytes    6F 6B 20 FF 0A  (FF is not UTF-8)
decoded  "ok �\n": read-only: yes, a format to save in: no
kept     6F 6B 20 FF 0A  (the bytes as read, kept beside the text)

Text engine

The engine every buffer will be held in, from tidepool-text: a rope with byte, character and UTF-16 positions, grapheme boundaries from Unicode's own data, selections and change sets applied through an undo tree, and decoding and saving that never leaves a half-written file.

Its output, as the job that published this page ran it on Linux x86_64.

Architecture

Tidepool in two views drawn by hand from its design: its programs among the people and systems around them, then its crates in their layers. Built from the bottom up, its foundations, formats and text engine come first, so most of what the binary will do is still dashed. Every module and edge is drawn in the repository's diagrams.

Containers

One binary for the developer, with a GUI and a terminal frontend, that drives managed tools as child processes and talks to language agents over stdio; the core binary opens no sockets but its connection to the local X server, over a Unix socket only. Its main opens the GUI's window and shows the first frame; every other arrow from it is planned, labelled with the roadmap task that adds it.

Tidepool's programs and files, and the people and systems around them: a C4 container diagram The developer sees Tidepool through its GUI frontend, which shows the first frame today (M2.6) and is to take edits (M4.2), or is to use its terminal UI (planned M7.1). Both belong to the tidepool binary, which draws frames in the GUI (M2.6); every other arrow from it is planned: it is to draw cells in the TUI (M7.1), read and write its settings and other TOML files (M3.4, M4.7, M5.1), open, edit and save the developer's workspace folders (M4.7, M4.3), install and run managed tools such as curl, rustup and cargo, rust-analyzer, git, the Android SDK and Xcode (from M5.1), and speak the Tidepool Agent Protocol over stdio to the reference agents (M9.3), which reach model servers through curl or loopback HTTP (M9.6). TidepoolSOFTWARE SYSTEM PERSONDeveloperedits Rust and Markdown,builds and signs Androidand iOS apps CONTAINER: BUILT M2.6GUI frontendtidepool-gui: a nativewindow in the jabbott.dev look CONTAINER: PLANNED M7.1Terminal UItidepool --tui, withvim-style modal editing CONTAINER: RUST BINARYThe tidepool binarycargo tp: it opens the windowand shows the first frame (M2.6);the loop and shell come in M3.4 FILES: PLANNED M3.4, M5.1Settings and TOML filessettings, keymaps,language packs, tool records CONTAINERS: PLANNED M9.2, M9.6Reference agentsagents/: mock, local, Claude;never linked into Tidepool FILESWorkspace foldersthe developer's projects,with .tidepool/settings.toml EXTERNAL SYSTEMSManaged toolscurl, rustup and cargo,rust-analyzer, git, the JDK,Android SDK and NDK, Xcode,a debug adapter EXTERNAL SYSTEMSModel serversAnthropic's Messages API,or a server on 127.0.0.1 a window (M2.6),edits planned M4.2 planned M7.1:edits in a terminal M2.6:draws frames planned M7.1:with --tui planned M3.4, M4.7,M5.1: reads, writes planned M9.3:TAP over stdio planned M4.7, M4.3:opens, edits, saves planned from M5.1:installs, runs planned M9.6:curl, loopback

Scroll sideways to see the whole diagram.

Crates by layer

The workspace's 26 crates in seven layers. A crate may use only crates below it, and only those its row of the dependency matrix names; the gate checks that on every push. Only sys and platform may hold unsafe code.

Tidepool's 26 crates in their seven layers Each crate may use only crates in the layers below it that its row of the dependency matrix names. Built: in layer 0, core (M0.2, M1.6, M1.8) and sys, its crate root (M0.1) and Linux declarations (M2.1, M2.2, M2.7); in layer 1, codec (M1.4 to M1.7, and QOI, M2.4), text (M1.1 to M1.3), gfx, the CPU rasterizer and backdrop (M2.3), font, the TrueType parser and glyph rasterizer (M2.8) and the glyph atlas, text layout and fallback (M2.5), and platform, its crate root (M0.1), the Linux window, events, waker and present over X11 (M2.2), and the clipboard and folders (M2.7); in layer 2, ui, its widget tree, layout, focus, input routing, draw lists and accessibility tree (M3.1), its theme (M3.2), its controls (M3.6), its collections, tab strip, splitter, card and code block (M3.7), and its overlays, the modal dialog, tooltip, toast, and command palette (M3.3); in layer 4, gui, which draws the first frame (M2.6) and paints ui's draw lists (M3.5); in layer 5, the tidepool binary, which opens its window (M0.1, M2.6); in layer 6, xtask (from M0.3) and bench (M1.9, M2.5, M3.3). Every other crate is planned: regex M4.8 and markdown M6.5 in layer 1; rpc M6.1, toolchain M5.1, syntax M6.2, term M5.8 and workspace M4.7 in layer 2; lang M6.7, vcs M8.1, agent M9.3 and mobile M10.2 in layer 3; editor M4.1 and tui M7.1 in layer 4; testkit M5.1 in layer 6. LAYER 6Tools,dev-only BUILT M0.3 ONxtaskthe gate, the checks,fuzz smoke, this page BUILT M1.9 TO M3.3benchbenchmark harness,text, font, ui suites PLANNED M5.1testkitfake tools, afake LSP server LAYER 5Application BUILT M0.1, M2.6tidepoolthe binary, cargo tp:the first frame LAYER 4Views andfrontends PLANNED M4.1editoreditor view, vimmode, all panels BUILT M2.6, M3.5guithe native window,the painter PLANNED M7.1tuithe terminal UI LAYER 3Language andtool features PLANNED M6.7langLSP features,cargo tasks, DAP PLANNED M8.1vcsgit status, diffand blame PLANNED M9.3agentagent host, TAP,predictive text PLANNED M10.2mobileAndroid and iOS:build, sign, verify LAYER 2Services PLANNED M6.1rpcJSON-RPC: LSP,DAP and TAP PLANNED M5.1toolchainmanaged tools,consented installs PLANNED M6.2syntaxlexers andlanguage packs PLANNED M5.8termVT parser andterminal grid PLANNED M4.7workspacefolders, trust,buffers, search BUILT FROM M3.1uitree, theme, controls,collections, overlays LAYER 1OS behavior,formats, engines BUILT M0.1 TO M2.7platformX11 window, events,clipboard, folders BUILT M1.4 TO M2.4codecJSON and JSONC,TOML 1.1, QOI BUILT M1.1 TO M1.3textrope, undo tree,encodings, save PLANNED M4.8regexlinear-timeregex BUILT M2.3gfxCPU rasterizer,backdrop, damage BUILT M2.8, M2.5fontTrueType, glyphs,atlas, layout PLANNED M6.5markdownCommonMarkand GFM LAYER 0Foundations BUILT FROM M0.2coreerrors, hashing, CLI,fuzzing, paths BUILT M0.1 TO M2.7syshand-written FFI:libc and X11

Scroll sideways to see the whole diagram.

  • A person
  • Part of Tidepool, built
  • Outside Tidepool
  • A cylinder: files on disk
  • Dashed: planned, with its task

Features

15 shipped, 1 in progress and 22 planned. Each feature is marked from the roadmap's ticks at ad0c734, so the list moves as the tasks land.

Quality // Shipped

No third-party crates

Tidepool is built from this repository's crates and Rust's standard library alone: no package comes from crates.io or anywhere else. The build fails if a workspace or its lockfile gains a package from outside the repository, and each crate may use only the crates that the dependency matrix in the architecture document allows, read from that document on every run.

  • M0.1
  • M0.3

Quality // Shipped

Guardrails on every change

Every pull request and every push to main runs one gate on Linux, macOS and Windows: formatting, Clippy with warnings as errors, every test, and checks of the dependencies, the layering and unsafe code, which only the two crates that talk to the OS may hold, each block with a comment that says why it is sound; every other library forbids unsafe code in its documentation's examples, which the compiler's usual check does not reach, and the gate reads those examples for it too, allows no procedural macros, and refuses a macro that could hide a caller's unsafe code from the compiler's check. The gate escapes what it quotes from the repository, reports every symbolic link rather than following it, and pauses GitHub's workflow commands while it runs, so no file can forge a line of the log.

  • M0.3
  • M0.4
  • M0.10
  • M0.11
  • M0.15

Quality // Shipped

Supply chain and headers

Every action the CI workflows use is pinned to a full commit SHA, Dependabot proposes an update only once it is a week old, and a check fails a workflow that uses an action, or gives its token a permission, that the check's table does not allow. CodeQL scans the Rust code and the workflows, and every source file starts with the Apache-2.0 license header, which a check enforces too.

  • M0.7
  • M0.8

Quality // Shipped

Diagrams and crate READMEs

Every crate has a README in one shape: what it is, where it fits, what it has built and with which task, and how to use and check it, and the Rust examples in them run as tests. A check holds that shape, the manifests and each crate's copy of the license, and diagrams in Mermaid draw the architecture and the code, what is built solid and what is planned dashed with its task. Guides for contributors and for security reports set out how work is proposed, reviewed and reported.

  • M0.6
  • M0.9
  • M0.12
  • M0.13

Quality // Shipped

Performance budgets

The budgets Tidepool is held to are written down and agreed, with the machine they are to be met on, an i7-11800H laptop: a keystroke on screen within 16 ms, the first frame within 300 ms of a cold start, and no redraw and next to no CPU while idle. A benchmark harness of our own, run with cargo xtask bench, measures the text engine against a baseline recorded on that machine: rope edits, position conversions, a 10,000-caret keystroke on 400 KB and on 100 MB, typing into 100 MB, and grapheme queries on crafted 100 MB lines, each with its median and p95, and a mark on any median more than 10% slower.

  • M0.5
  • M1.9

Quality // Planned

A demo page from each commit

This page will be built from each commit on main once CI has passed on it: the verdicts and test counts of the gate run on that commit, the output of two example programs run on fixed inputs, and these features, checked against the roadmap's ticks.

  • M0.14

Core // Shipped

Foundations in core

The pieces every crate shares: errors, logging that redacts registered secrets before a line is written anywhere, a property-test harness that prints the seed of a failure to run it again, a PCG32 random generator, FNV-1a, CRC-32 and SHA-256 checked against their standard vectors, a command-line parser, UTC dates and times, geometry, colors, input events and cancellation; and path helpers, which show a path that is not UTF-8 without hiding its bytes or letting a file name drive a terminal, give each path one canonical spelling on Linux, macOS and Windows, and say where a new file will land before it exists.

  • M0.2
  • M1.8

Formats // Shipped

JSON and JSONC

A parser and writers for JSON, strict RFC 8259 by default, and JSONC, with comments and trailing commas, when the caller asks for it. Bad input gets an error with its line and column, never a panic, and limits on size, depth, strings, numbers and entries keep a hostile document from exhausting memory or the stack.

  • M1.4

Formats // Shipped

TOML 1.1

A TOML 1.1 parser into a tree whose keys and values keep their place in the text, passing every valid and invalid case on toml-test's 1.1 list, with errors that give the line and column and the same kind of limits as JSON's. A document model changes or adds a value and writes the file back with only those bytes changed, so comments, order and formatting stay; what it writes is TOML 1.0, so a file that tools knowing only TOML 1.0 can read stays readable to them.

  • M1.7
  • M1.5

Text // Shipped

The rope and positions

Text lives in a rope, so an edit anywhere in a large file stays cheap. A position is a byte offset that converts to characters, lines and columns, and to UTF-16 for language servers; grapheme boundaries follow Unicode 17.0, from tables generated from the official data; and 10,000 random edit sequences are checked against a plain string.

  • M1.1

Text // Shipped

Selections and the undo tree

Selections with any number of cursors, edits as change sets that apply at every cursor at once, and an undo tree that keeps every branch, so an edit after an undo loses nothing. Random sequences of edits, undos and redos are checked step by step against a model that keeps every revision's text.

  • M1.2

Text // Shipped

Encodings and the atomic save

Files open as UTF-8, or as UTF-16 by their byte-order mark, and a file that is not valid UTF-8 opens read-only with every byte kept. A save writes a temporary file beside the original, syncs it and renames it over, so a crash mid-save leaves the original whole, and keeps the line endings, the trailing newline and the file's permissions.

  • M1.3

Quality // Shipped

A fuzzer of our own

A mutation fuzzer written here drives a target for each parser from hand-made seeds, and fails on a panic, a hang or, on Linux, memory use past a cap. A finding is saved whole, every test run replays the saved ones, and for every pull request and push to main CI fuzzes every target for 30 seconds on Linux.

  • M1.6

Platform // Shipped

A window on Linux

Tidepool opens its window through X11, and through XWayland on a Wayland desktop, over the local X server's Unix socket only, on libc and X11 declarations written by hand, the layout of each struct whose fields are declared checked against the C headers, and a table of Xlib's functions loaded from libX11 at run time. Keys are reported by their place on the keyboard, whatever the layout, with the text they type; a waker any thread can use ends a wait within microseconds; and presenting sends only the damaged parts of a frame, read back pixel for pixel under Xvfb in the tests. Copy and paste go through X's CLIPBOARD and PRIMARY selections, between Tidepool's windows and other programs, large texts in parts, with no wait on another program; and Tidepool finds its settings, data, cache and log folders from the XDG variables.

  • M2.1
  • M2.2
  • M2.7

Rendering // Shipped

Our own rasterizer and fonts

A CPU rasterizer of our own draws rectangles, hairlines, borders, bracket corners, and anti-aliased polygons, lines, cut corners and pills, with images and glyph masks, blending, layers and clipping, in arithmetic meant to give the same bytes on every OS; it merges the damaged parts of a frame, and renders jabbott.dev's backdrop, its glows, stars and grid under its bronze circuits and purple nerve cells, drawn still, with a blurred copy for translucent panels. A TrueType parser of our own reads Saira and JetBrains Mono, bundled with their licenses: glyph ids, metrics, names, kerning and composite glyphs, checked against limits so that a hostile font is refused rather than read, and fuzzed. Its rasterizer turns each glyph's quadratic outline into exact-area coverage, unhinted and with subpixel positions, in the same bytes on every OS. Text is set in lines that kern, track uppercase labels, stop at tabs, end in an ellipsis or wrap, a missing character falling back to JetBrains Mono and then to a visible box, and a glyph atlas keeps what is drawn, evicting what was used least recently, its fill benchmarked against a baseline on the reference machine. Tidepool's first window shows them: cargo tp opens it on Linux and draws the backdrop with a line in each of the seven bundled faces, crisp at scale 1 and 2, its first frame 116 to 202 ms after a cold start in the runs measured on the reference machine, within the 300 ms budget, and it uses no processor while nothing changes.

  • M2.3
  • M2.8
  • M2.5
  • M2.6

Quality // Shipped

Golden frames

Drawn frames are compared pixel for pixel with committed references, stored as QOI images by a codec of our own: 22 scenes cover every primitive of the rasterizer, jabbott.dev's backdrop, and text in both bundled faces, at scale 1 and 2, and the gate compares them on Linux, macOS and Windows. A changed pixel fails with images of the difference, and a reference changes only when it is blessed by name.

  • M2.4

UI // In progress

The UI toolkit in the jabbott.dev style

A widget toolkit of our own keeps a retained tree of widgets and lays it out in logical units, in rows, columns, stacks, grids, splits and scrolling panes, so that a child never overflows a parent that does not scroll. It sends keys to the focused widget and the pointer to the one under it, then up through their parents until one handles it; Tab moves focus, which shows after a key is pressed and not after a click. Each frame repaints only what changed and gives the whole draw list with the rects that changed, and an idle tree gives no frame; its accessibility tree gives every focusable widget a role and a name. A painter of our own turns those lists into pixels on the CPU, only where they changed: crisp rects and borders, anti-aliased lines, pills and cut corners, text in the bundled faces, vector icons, images, clips and translucent layers, at whole and fractional scales, checked pixel for pixel against golden images. Its theme is jabbott.dev's tokens in a TOML file, compiled in and read with every key checked, and a check of the gate prints the theme's contrast table and fails when a pair of colors it uses for text drops below WCAG AA. Its controls are jabbott.dev's, in those tokens: ghost, teal, amber and slate buttons in the look of its header tiles, chips, a text input and a search field that move and delete by whole characters as you see them, emoji and accents included, a scrollbar, the focus outline, status dots, titles and breadcrumbs, each control with a role and the name it is given, and each drawn at rest, hovered, focused, pressed and disabled in golden images at scale 1 and 2. Its collections are lists, tree views and tables of a million rows or more, which keep widgets only for the rows on screen, with a selection the arrow, page and Home and End keys move and scroll into view, a tree view's branches opening and closing, and table headers to sort by; tab strips, splitters to drag or step with the keys, cards with their READY or UPDATE tab, and code blocks with a COPY button, each in golden images of every state. Its overlays sit above the window in layers of their own: a dialog, which dims the rest of the window and makes it ignore the pointer and the keyboard, keeps Tab within itself, takes focus as it opens so that Enter accepts nothing, and gives focus back when it closes, and after it opens or closes no click goes anywhere until the pointer moves a few pixels, so a click aimed before, such as the second of a double click, acts on nothing; tooltips for the pointer and for keyboard focus, which Escape closes; up to four toasts in the bottom-right corner, which never overlap one another or cover a dialog; and the command palette, a search field over the items its owner ranks, with the characters a query matched in bold, each in golden images of every state. The shell will put the title strip, activity bar, side and bottom panels and status bar around the editor.

  • M3.1
  • M3.2
  • M3.5
  • M3.6
  • M3.7
  • M3.3
  • M3.4

Editor // Planned

Editing Tidepool with Tidepool

The editor view will draw the text with cursors, selections, a gutter and soft wrap, and edit with many cursors at once, one undo step per command; keymaps will be TOML files, with your bindings over the defaults. Folders will open untrusted until you trust them, files will open in tabs and splits and reload when changed outside, and unsaved work will come back after a crash.

  • M4.1
  • M4.6
  • M4.2
  • M4.7
  • M4.3
  • M4.5
  • M4.9

Editor // Planned

Search

A regex engine of our own will run in time linear in the text, whatever the pattern, with Unicode classes, behind find and replace, project search streamed from worker threads, and a fuzzy file finder.

  • M4.8
  • M4.4

Toolchains // Planned

Managed toolchains

Tidepool will find, install and update rustup, the Rust toolchain, rust-analyzer and git through their official channels: each install plan shown and confirmed before it runs, each download checked against a pinned SHA-256, and no secret on a command line or in a log. A Toolchains panel and a first-run checklist will take a new user to a working Rust setup without leaving the IDE.

  • M5.1
  • M5.7
  • M5.2
  • M5.3
  • M5.5
  • M5.6

Terminal // Planned

An integrated terminal

A terminal emulator of our own, with truecolor, wide characters, scrollback and reflow, will run shells and full-screen programs such as vim, less and htop in a panel, through a pseudo-terminal on Linux.

  • M5.8
  • M5.9
  • M5.4

Languages // Planned

Rust, first-class

Tidepool will drive rust-analyzer through a JSON-RPC and LSP client of our own, for diagnostics, navigation, hover, completion, rename, formatting and code actions, with cargo's errors in a Problems panel. Incremental lexers will highlight Rust, Markdown and TOML, and an untrusted workspace will run no build script or proc macro.

  • M6.1
  • M6.2
  • M6.7
  • M6.8
  • M6.3
  • M6.4

Languages // Planned

Markdown, first-class

A CommonMark and GitHub Flavored Markdown parser of our own will drive a preview in jabbott.dev's prose style, an outline, and checks of relative links and anchors.

  • M6.5
  • M6.6

Terminal // Planned

The terminal UI and vim mode

tidepool --tui will run the IDE in a terminal, over SSH too, with vim-style modal editing: motions, operators, text objects, visual modes, registers, marks, macros, dot-repeat, search and ex commands, checked against Vim itself.

  • M7.1
  • M7.2
  • M7.3
  • M7.4
  • M7.5

Git // Planned

Git without leaving Tidepool

Through the git command line, Tidepool will mark changed lines in the gutter, stage and unstage files and hunks, commit, switch branches and stash, each only when you ask, and show side-by-side and inline diffs, blame and file history.

  • M8.1
  • M8.2
  • M8.3

AI // Planned

AI agents

Language agents will plug in as separate programs over the Tidepool Agent Protocol, starting with a mock, a local one and one for Claude. Tidepool will choose what an agent sees, with a deny-list and your consent, sending only the focused buffer from an untrusted workspace; chat will stream, and an edit will arrive as a diff to accept as one undo step or reject.

  • M9.1
  • M9.2
  • M9.3
  • M9.5
  • M9.6

AI // Planned

Predictive text

Offline predictive text will complete as you type with no agent installed, merged with the language server's and the agents' suggestions in one popup and as ghost text, and never slowing a keystroke.

  • M9.4

Mobile // Planned

Android apps

Tidepool will install the JDK, the Android SDK and NDK and bundletool, build Gradle projects and Gradle-free Java and Rust apps, and sign APKs with the SDK's apksigner and app bundles with the JDK's jarsigner, never with a password on a command line. Panels will manage the SDK and devices, show logcat, and run the apps on an emulator.

  • M10.1
  • M10.3
  • M10.4
  • M10.5
  • M10.6

Formats // Planned

Archives and images

Inflate, deflate, PNG, ZIP and XML, each written here with a fuzz target of its own, will let Tidepool look inside what Android's tools build, refusing an archive entry that would land outside its folder.

  • M10.7
  • M10.2

Platform // Planned

macOS

Tidepool will run natively on macOS 13 and later through AppKit, declared by hand: windows, events, the clipboard, processes, terminals and file watching, passing the tests that Linux passes.

  • M11.7
  • M11.8
  • M11.1

Mobile // Planned

iOS apps

On a Mac, or from Linux through a Mac reached over SSH, Tidepool will build and sign iOS apps from Xcode projects or plain Rust, verified with codesign and launched in the simulator, with panels for simulators and signing; and Tidepool itself will be packaged for macOS.

  • M11.2
  • M11.3
  • M11.4
  • M11.5
  • M11.6

Platform // Planned

Windows

Tidepool will run on Windows 10 1809 and later through Win32, declared by hand, with high-DPI windows, ConPTY terminals, file watching and winget install plans, and the repository's own tooling will work there too.

  • M12.1
  • M12.2
  • M12.3
  • M12.5

Languages // Planned

Debugging

Rust programs will run under a managed lldb-dap or CodeLLDB, with breakpoints, stepping, the stack, variables, watches and a console.

  • M13.1

Languages // Planned

More languages

Language packs will bring highlighting, and a managed language server where there is one, to C and C++, Python, JavaScript and TypeScript, Go, Java, Kotlin, Swift, shell, SQL, HTML and CSS, YAML, JSON, Dockerfiles and Makefiles, with their lexers written as rules in the pack.

  • M13.2
  • M13.3

Editor // Planned

Image and hex viewers

PNG files will open in an image viewer and binary files in a hex view, and a broken PNG will show an error.

  • M13.4

UI // Planned

Screen readers

The accessibility tree will reach the screen readers of every desktop, through AT-SPI on Linux, NSAccessibility on macOS and UI Automation on Windows, so that a screen reader announces where the focus moves.

  • M14.2

Release // Planned

Signed packages for every desktop

Tidepool will be packaged for Linux, macOS and Windows, signed and built from a tag by a release workflow, and each package will run a smoke test of itself before it ships.

  • M12.4
  • M14.4

Release // Planned

Release readiness

Before the first release, every parser will get a nightly fuzz campaign, every performance budget will be measured on the reference machine, a security review will cover the whole tree, users will get a guide, and a release-candidate dry run will walk the release checklist.

  • M14.1
  • M14.3
  • M14.7
  • M14.5
  • M14.6