How a Zig IDE Could Work
This is very different to most static languages.From the article:The whole process is lazy — only things transitively used from main are analyzed. Compiler won’t complain about something like    fn unused() void {
        1 + "";
    }

This looks perfectly fine at the Zir level, and the compiler will not move beyond Zir unless the function is actually called somewhere.