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

format_on_save #32

Open
gurmukhp opened this issue Aug 15, 2016 · 2 comments
Open

format_on_save #32

gurmukhp opened this issue Aug 15, 2016 · 2 comments

Comments

@gurmukhp
Copy link

For some reason, even though I have format_on_save as true, the file doesn't format. Clicking super+option+a seems to work though.

This is my config:

{
"style": "Google",
  "format_on_save": true
}


@salarkhan
Copy link

salarkhan commented Oct 28, 2016

Having the same issue. Preferences.sublime-settings looks like this:

"settings": {
  "ClangFormat": {
    "format_on_save": true
  }
}

@cenit
Copy link

cenit commented Jan 21, 2018

the plugin does not read Preferences.sublime-settings.
Instead, use the file clang_format.sublime-settings with the tags described in this file: https://github.com/rosshemsley/SublimeClangFormat/blob/master/clang_format.sublime-settings

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