Skip to content
New issue

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

Configure the plugin so we can use it to format JSON #156

Open
remileduc opened this issue Oct 29, 2023 · 0 comments
Open

Configure the plugin so we can use it to format JSON #156

remileduc opened this issue Oct 29, 2023 · 0 comments

Comments

@remileduc
Copy link

remileduc commented Oct 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant