StateSense

Settings Reference

All configuration options for StateSense, accessible via VS Code Settings (Ctrl+,).

To configure StateSense, open VS Code Settings (Ctrl+,) and search for statesense. You can also edit settings.json directly.

statesense.autoSnapshot.enabledboolean
Default: true

Enable or disable automatic snapshot creation. When false, StateSense will not create snapshots automatically, but manual snapshots still work.

statesense.autoSnapshot.largeChangeThresholdnumber
Default: 500

Total lines changed across all open files required to trigger a large-change automatic snapshot. Individual file edits with fewer than 10 changed lines are filtered out before this count is accumulated.

statesense.autoSnapshot.multiFileThresholdnumber
Default: 3

Number of distinct files that must change within a debounce window to trigger a multi-file automatic snapshot.

statesense.autoSnapshot.fastChangeWindownumber
Default: 5000

Time window in milliseconds used to detect rapid successive edits. When multiple saves happen within this window, StateSense treats them as a single fast-change event.

statesense.autoSnapshot.idleIntervalnumber
Default: 300000

Milliseconds of idle time (no file edits) after which StateSense creates an idle-checkpoint snapshot, provided changes exist since the last snapshot. Default is 300000 ms (5 minutes).