forked from xaverh/vscode-clang-format
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I'm using VSCode 1.81.1 and v2.0.2 of seaube.clangformat on Windows.
I've installed clang-format with npm install clang-format.
I've this setting in my workspace settings.json:
"clangFormat.executable.default": "${workspaceRoot}/node_modules/.bin/clang-format"When I try to format a file, vscode tells me:
'/c:/Projects/TestProject/node_modules/.bin/clang-format' command is not available. Please check your clang-format.executable user setting and ensure it is installed.
Please note the error message says I should check clang-format.executable setting, the readme file says I should set clangFormat.executable setting, but from what I found out the correct setting key is clangFormat.executable.default.
So how can I set clang-format executable correctly on Windows?
Metadata
Metadata
Assignees
Labels
No labels