We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have a problem when running on Ubuntu, I've tried setting the absolute path to the formatter:
"OpenCL.formatting.name": "/home/<my username>/.vscode/extensions/ms-vscode.cpptools-1.14.5-linux-x64/LLVM/bin/clang-format"
However whenever I try to format a .cl file, I get this popup:
[OpenCL Formatter] Failed to format document. Check the console in dev tools to find errors when formatting.
And when I go to Output -> Extension Host I see
2023-03-31 12:21:28.793 [error] [galarius.vscode-opencl] provider FAILED 2023-03-31 12:21:28.793 [error] undefined
What works for me is installing clang-format directly with sudo apt install clang-format and then setting the path to its binary
sudo apt install clang-format
"OpenCL.formatting.name": "/usr/bin/clang-format"
Originally posted by @geeshta in #49 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
However whenever I try to format a .cl file, I get this popup:
And when I go to Output -> Extension Host I see
What works for me is installing clang-format directly with
sudo apt install clang-format
and then setting the path to its binaryOriginally posted by @geeshta in #49 (comment)
The text was updated successfully, but these errors were encountered: