-
Notifications
You must be signed in to change notification settings - Fork 31
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
build system doesn't run on save if user settings are set to 0 #29
Comments
Is the file being saved having an extension that matches the regexp configured? |
thanks for your reply, yes, the file is |
I'm having the same issue. Did you ever figure this out? But it doesn't work. |
This seems to be ancient, but the correct way to do this is to put the relevant options in the {
"folders":
[
{
"file_exclude_patterns":
[
".gitignore",
".gitmodules"
],
"folder_exclude_patterns":
[
".git"
],
"path": "."
}
],
"settings":
{
"ClangFormat":
{
"based_on_style": "File",
"format_on_save": true
},
"build_on_save": 1,
"filename_filter": "\\.(hpp|cpp)$",
"tab_size": 4
}
}
|
I've globally set the build_on_save to 0 in my user settings file, but I've added
"build_on_save": 1
in one of my projects, but still, whenever I hit the save shortcut, the file is saved but the build system doesn't trigger.
any clue on this?
The text was updated successfully, but these errors were encountered: