SlateGet Slate
Docs / Help

Troubleshooting

Pane not switching, wrong view, high CPU, inotify limits and how to file a useful bug.

On this page
Pane never switchesWrong viewHigh CPUMissing promptOverride API deadLogsFiling a bug

The pane never switches

  • Check the pin indicator in the status bar — ⌘. toggles it, and it is sticky by design.
  • Confirm the files are not gitignored. Slate follows .gitignore, so writes into an ignored path produce no burst.
  • On Linux, a low fs.inotify.max_user_watches silently drops events in large repos:
    sysctl fs.inotify.max_user_watches   # 8192 is too low
    sudo sysctl -w fs.inotify.max_user_watches=524288
    

It switches to the wrong view

Usually a build or formatter is writing alongside your agent, so the burst is dominated by files you did not intend. Add them to watcher.ignore — see configuration. If the classifier is genuinely wrong for a case you can reproduce, that is a bug worth filing; it is deterministic, so a burst description is enough to reproduce it.

High CPU

Almost always a watch loop: a process writing inside the working tree continuously (a dev server writing to .cache, a test watcher). Slate shows the burst rate in the status bar — if it never drops to zero while you are idle, something is writing.

My prompt or aliases are missing

Slate launches $SHELL as a login shell. If your configuration lives in a non-login file, either move it or set terminal.shell explicitly in the config.

The override API does nothing

  • override.enabled defaults to false. Turn it on.
  • Check the port is actually bound: curl -sv localhost:8477/intent -d '{"kind":"tree"}'.
  • Paths must be inside the open workspace and must exist.

Logs and diagnostics

slate --config          # resolved configuration
tail -f ~/.local/state/slate/slate.log

Logs are local files. Nothing is uploaded, so a bug report needs you to attach them deliberately — see privacy.

Filing a bug

Include the Slate version, OS, the burst that misbehaved (file list and change kinds), and what you expected the pane to show. Because the classifier is pure, that is enough to write a failing test.