David Desmarais-Michaud
David Desmarais-Michaud
I believe that this kind of generic structural typing would be extremely useful, and necessary for systems that have performance requirements that dynamic dispatch cannot handle. That being said the...
I think my idea might need to be rewritten as a proposal. As far as whether common fields of a struct union should usable from the function body, I agree....
I have zig installed I have zls installed I have the zig language extension installed. Documentation says everything should work out of the box but it does not. Either documentation...
I think the main problem is documentation. It's unclear from the docs or setup that these settings need to be set: - zig.initialSetupDone - zig.path - zig.zls.path
I also support this proposal. I don't mind defining it as two new rules: - No empty lines around *for* bodies - No empty lines around *if* bodies However, I...
@cristaloleg please expand? It can be viewed as two new rules or an expansion on an existing rule. It would not perform invalid formatting as per gofmt.
@mvdan any input? I created a PR that seems to accomplish the goal.
@mvdan Can you take a look at this?
@flan6 I would love this to be merged so that we can get it integrated into gopls. I have to build my own branch of gopls to get the automatic...
Hi @flan6, I saw it, however I don't have the bandwidth personally to figure out how to do the look ahead to figure out if the block precedes an if-else...