tratto

Reference

View as Markdown

Configuration files

All of these live in the configuration folder: ~/.config/tratto/ on Linux (or $XDG_CONFIG_HOME/tratto/), ~/Library/Application Support/tratto/ on macOS, or $TRATTO_CONFIG_DIR when it is set. Each file starts with a schema number; tratto refuses a file it cannot read whole and tells you where it is wrong.

Files you edit

FileSchemaWhat it isApplies
settings.json3your settings, {"schema": 3, "values": {…}}at start (the Settings screen applies at once)
profiles/<name>.json3the settings of a profileat start
projects/<workspace>/<project>.json3the settings of one projectat start
style.json1colours, radii, text, fonts, icons and spacing over the themelive
layout/refs.json, sidebar.json, history_columns.json, repository.json, notifications.json1the layouts of the Git screenslive
layout/ide.json, ide/project_types.json, ide/file_icons.json1the IDE's layout, project types and file iconsat start
themes/<built-in theme>.json1an adjustment of a built-in themeat start
locales/<language>.json1texts over a built-in language, or a new languageat start
flows/clone.json2the clone flowat start
updates.json1an update feed that replaces the built-in oneat the next check
agents/prices.json1model prices for the cost estimateat start

Files tratto manages

Leave these to the app: workspaces.json, pins.json, session.json, ide-memory.json, activity.json, home/pages/, copilot/chats/, agent-token, db/. On Linux, the Trash of discarded files is kept in ~/.local/state/tratto/.

Built in, not overridable yet

menu.json (the menus and keys), the settings schema, the command book, the AI prompts for commits and the What's New list ship with the app and are read only from it.

Environment variables

VariableWhat it does
TRATTO_CONFIG_DIRuse another configuration folder
TRATTO_GITan absolute path to the git to run
TRATTO_MODEthe module to start on

Type to search every page.