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

Not working anymore with VSCode 1.5.2 #22

Closed
jhasse opened this issue Sep 14, 2016 · 5 comments
Closed

Not working anymore with VSCode 1.5.2 #22

jhasse opened this issue Sep 14, 2016 · 5 comments

Comments

@jhasse
Copy link

jhasse commented Sep 14, 2016

Since updating to VSCode 1.5.2 Clang-Format (v0.10.3) doesn't work anymore: Selecting Format Code does nothing, no error message or anything.

$ clang-format --version
clang-format version 3.8.0 (tags/RELEASE_380/final)
$ uname -r
4.7.2-201.fc24.x86_64
$ code --version
1.5.2 (66f37fd2a99eb9d628dd374d81d78835b410c39b)
@xaverh
Copy link
Owner

xaverh commented Sep 14, 2016

Do you use the Microsoft C/C++ extension (or another extension that is providing a formatter for the programming language you are using clang-format for)?
If so, does it work if you disable the other extension? I already reported this problem to the Visual Studio Code team: microsoft/vscode#11609

@jhasse
Copy link
Author

jhasse commented Sep 14, 2016

Yes, that seems to be the problem :)

@maxence-charriere
Copy link

this doesn't work for me.

@xaverh
Copy link
Owner

xaverh commented Nov 4, 2016

Sure, because microsoft/vscode-cpptools#303 is not fixed yet. There is nothing this extension can do to solve this issue.

@xaverh xaverh closed this as completed Nov 5, 2016
@maxence-charriere
Copy link

so actually, it's just that the key binding changed in the last version.

Here is the one to use:

editor.action.formatDocument

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

3 participants