Skip to content

Settings

The Rebound IDE plugin settings are accessible at Settings > Tools > Rebound in Android Studio. Settings are persisted via PersistentStateComponent in the project’s .idea/rebound.xml file.

SettingDefaultTypeDescription
historyRetentionSeconds3600IntMaximum duration of rate history samples to retain in memory. 3600 seconds = 1 hour. Increasing this uses more memory (approximately 1.4 MB per 100 composables at 1 hour).
snapshotIntervalSeconds5IntHow often a full metric snapshot is stored for timeline and history purposes. Lower values provide finer-grained timeline data but use more memory.
maxStoredSessions20IntMaximum number of session files kept on disk in .rebound/sessions/. When exceeded, the oldest session is deleted.
showGutterIconstrueBooleanToggle colored dots next to @Composable functions in the editor gutter.
showInlayHintstrueBooleanToggle CodeVision-style inlay hints above @Composable function signatures.
autoConnectfalseBooleanWhen true, the plugin automatically starts polling the socket when the project is opened, without requiring a manual click on the Start button.
adbPort18462IntThe TCP port used for adb forward. Change this if port 18462 conflicts with another service. Must match the port used in the adb forward command.
maxEventLogLines5000IntMaximum number of entries in the Monitor tab’s event log. Older entries are trimmed when this limit is reached.

The table below estimates memory usage for the default settings with 100 instrumented composables:

ComponentCalculationSize
Rate history100 composables x 3600 samples x 4 bytes~1.4 MB
Snapshots720 snapshots x 100 entries x ~200 bytes~14 MB
Event log5000 entries x ~100 bytes~0.5 MB
Total~16 MB

This is acceptable for a development tool. If memory is a concern (e.g., large apps with 500+ composables), reduce historyRetentionSeconds or increase snapshotIntervalSeconds.

Settings are stored per-project in .idea/rebound.xml. This file can be committed to version control if you want consistent settings across the team, or added to .gitignore for per-developer configuration.

Session data (.rebound/sessions/) is always local and should be added to .gitignore.