vscode-clang-format
vscode-clang-format copied to clipboard
A Visual Studio Code extension that provides C++, C, Obj-C, Java formatting with the use of clang-format
Clang-Format officially only supports `.mjs .js .ts` for JavaScript language. (see [doc](https://clang.llvm.org/docs/ClangFormat.html)) This change adds .cjs, .mts and .cts support for vscode clang-format extension
For C++ notebooks with the `.ipynb` extension, there's no option for `Format Document With:` in the command palette. Pressing `SHIFT` + `ALT` + `F` in a cell gives an error...
The extension can format js/ts files but not tsx. It would be great to have the functionality for tsx, too. Thanks!
I found that the "output" panel pops up when I try to format my code. It sometimes tells that there are some errors in my `compile_commands.json`, sometimes not. But I...
Adds another format that can `clang-format` can handle.
.clang-format-ignore files are not respected with this extension. They are similar to .gitignore files and describe which files should not be formatted. Note that I'm pointing to a custom clang-format...
it would be really awesome if when no file is found for formatting, that the fallback could reference a file path to a global .clang-format file.
Type: Bug While copy paste actions is made, UI just hangs Extension version: 1.9.0 VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:43:08.196Z) OS version: Darwin arm64 23.4.0 Modes: System Info |Item|Value|...