oxalica / nil

NIx Language server, an incremental analysis assistant for writing in Nix.
Apache License 2.0
1.38k stars 40 forks source link

Diagnostics show up only after changing the file #89

Closed b-zee closed 1 year ago

b-zee commented 1 year ago

I'm curious if this is desired behavior. I am using VS Code and when opening a directory, I see no diagnostics initially. This only appears when opening a file and making a change to it (e.g. typing a character or removing).

Is there a way to get diagnostics for a whole workspace/directory? I see many useful diagnostics in files I'd like to fix, but I have to go through all files manually to do this.