Skip to content
Docs
Mac · Code modeProject settings

Project settings

Share setup, environment variables and run commands across every task in a code project.

On this page

Where settings live#

Open Settings > Project settings to edit a project’s configuration. It is saved in a file at the project root, which you can also edit by hand.

Project root

Settings stack in layers. A later layer overrides an earlier one. A project without a file keeps the defaults.

Copy local files into new tasks#

A new isolated task starts from a clean copy of the repository, so files Git ignores, such as .env.local, are missing. Files to copy brings them across.

  • Enter one pattern per line. An empty box copies .env* files.
  • A .worktreeinclude file at the repository root takes priority over this setting.
  • ADE copies only files Git ignores. It skips symlinks, binary files, files over 5 MB and files that already exist.
  • The task’s welcome screen shows how many files were copied.

Environment variables and run commands#

  • Environment variables set here reach the setup script, the Run tab and the agent.
  • Variables load when a chat starts. Run /restart after changing them.
  • Run commands appear in the Run button’s menu in the right panel.
  • Each task gets its own VIDEODRAFT_PORT, so tasks can run servers at the same time.