Describe the Bug
clang-format clearly installed and executable set in cursor ide as;
“clang-format.executable”: “/opt/homebrew/bin/clang-format”
but when i try to save it gives error as
“The ‘/opt/homebrew/bin/clang-format’ command is not available. Please check your clang-format.executable user setting and ensure it is installed.”
there is a binary there;
/opt/homebrew/bin/clang-format --version
→ clang-format version 20.1.7
but still cursor couldnt find it int here. I also created a sym link under /usr/local/bin.
Steps to Reproduce
just install clang format by xaver on macos. cursor version
Expected Behavior
working clang-format
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.6 (Universal)
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:16:57.571Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue