vscode-clang-format icon indicating copy to clipboard operation
vscode-clang-format copied to clipboard

Configure the plugin so we can use it to format JSON

Open remileduc opened this issue 1 year ago • 0 comments

clang-format can work with JSON, but it seems the plugin doesn't alllow it.

Indeed, if I set the following in the settings.json:

"[json]": {
    "editor.defaultFormatter": "xaver.clang-format"
}

I have the following error: image

I think this is related to #146 as it seems to just be a configuration issue

Edit: it seems it has already be done by #139, but no update in marketplace like described in #113

Edit 2: For those who wants to have it working, you can install the fork https://github.com/seaube/vscode-clang-format instead

remileduc avatar Oct 29 '23 21:10 remileduc