sublime-zig-language icon indicating copy to clipboard operation
sublime-zig-language copied to clipboard

Can’t turn off Build On Save

Open ron-wolf opened this issue 3 years ago • 5 comments

I can’t turn off Build On Save, and it’s pretty annoying. I tried changing the preference but it didn’t work. How should I proceed?

ron-wolf avatar Dec 18 '21 19:12 ron-wolf

when you say "Build On Save" do you mean an actual build or a format job being run? sublime text refers to both as a "Build".

emekoi avatar Dec 18 '21 21:12 emekoi

Yeah +1 here, this is extremely annoying. Save means save, it doesn't mean "run some other arbitrary code". This should not be enabled by default, and it should be clearly documented.

readmodifywrite avatar Feb 10 '22 01:02 readmodifywrite

@ron-wolf Here is the settings that turns this off (in the syntax specific preferences):

// These settings override both User and Default settings for the Zig syntax { "zig.build.on_save": false, "zig.fmt.on_save": false }

readmodifywrite avatar Feb 10 '22 01:02 readmodifywrite

@readmodifywrite Will try this out next chance I get! @emekoi Sorry for missing your reply, it’s been a month or so so I don’t recall. I think it was an actual attempt to compile but I could be wrong.

ron-wolf avatar Feb 10 '22 03:02 ron-wolf