You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zig-mode currently exposes zig-run, which creates an executable from the current buffer and runs it immediately.
However, for bigger projects, there is usually a buils.zig with a run step, which could be invoked via zig build run.
It would be nice to have an ability to invoke that project-level run.
Motivation
build.zig is super common and having this improves developer experience, making edit-run-loop shorter.
Details
run step is a custom thing, which is not always available. We can have a defcustom for it with a default value and then users can either configure it in their configs or dir-locals.
We can expose zig-project-run (bound to C-c C-p or something, have no strong preferences).
Feature request
zig-mode
currently exposeszig-run
, which creates an executable from the current buffer and runs it immediately.However, for bigger projects, there is usually a
buils.zig
with arun
step, which could be invoked viazig build run
.It would be nice to have an ability to invoke that project-level run.
Motivation
build.zig
is super common and having this improves developer experience, making edit-run-loop shorter.Details
run
step is a custom thing, which is not always available. We can have adefcustom
for it with a default value and then users can either configure it in their configs or dir-locals.We can expose
zig-project-run
(bound toC-c C-p
or something, have no strong preferences).Background
zig build run
from the project root. #74 (stale)Contribution
I can work on a PR for this.
The text was updated successfully, but these errors were encountered: