WindowsmacOSLinux

Where Does Code::Blocks Store Settings?

Code::Blocks keeps settings, compiler profiles and templates in the platform config folder. Paths per OS and what to back up.

Last updated

Code::Blocks separates preferences from code. Compiler setups, editor fonts and project templates live in a config folder under the app name. Projects live wherever the wizard created them.

That split keeps reinstalls safe. Wiping config resets the IDE without touching code. Copy the config tree with the IDE quit and the whole environment returns except toolchain installs.

Where Code::Blocks stores this, by platform

Windows
%APPDATA%\CodeBlocks

Settings, compiler profiles and templates. Back up with the IDE quit. Fix compiler executable paths after moving between machines with different toolchain installs.

macOS
~/Library/Application Support/codeblocks

Same interior as Windows. Projects default to Documents while this tree holds preferences only. Confirm project folders from recent projects.

Linux
~/.config/codeblocks

Follows XDG config home. Distro packages share this layout, so moves between distributions copy cleanly apart from compiler paths.

Frequently asked questions

How do I move Code::Blocks settings?

Copy the codeblocks config folder with the IDE quit. Compiler profiles, editor tweaks and templates travel with it. Toolchain paths may need fixing on the new machine when compilers live elsewhere.

Where are my projects?

In whatever folder the project wizard pointed at, commonly Documents. The config tree only holds preferences and templates, never code. Check recent projects inside the IDE for true project paths.

Notice an outdated path? Let us know.