-
Notifications
You must be signed in to change notification settings - Fork 25
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
set "quiet: true" to zig fmt build script #36
Comments
adding the quiet flag still causes an empty panel to show but edit: |
ah, didn't realize that--this is the default functionality of the package thanks for the tip and modification |
np, i just pushed a new release with the option to autohide the panel if you set |
I figured out that I needed to add a However now the panel never pops up, even when there are build errors. @emekoi I propose to make this flag only apply when the command is 'fmt'. Does this sound reasonable? If so, is it possible? I'm looking at Zig.py and not sure how to check if the command is a fmt. Any ideas? I would gladly make a pr if I could figure out how to do this. Also, if we can do this, I suggest making zig.quiet default to true to avoid this annoying panel popup on every save. |
I'm sure I missed something @emekoi . It looks like your commit to address this sets |
if format on save is on, then zig fmt will run. when it does, "[Finished in 0.4s]" will pop up at the bottom
the formatter shouldnt need to pop open a console window on every save. setting "quiet: true" in the .sublime-build script for zig fmt fixes this
The text was updated successfully, but these errors were encountered: