vscode-haskell icon indicating copy to clipboard operation
vscode-haskell copied to clipboard

"No problem have been detected in workspace" announced to early

Open andreasabel opened this issue 4 months ago • 5 comments

An empty "Problems" view displays the text "No problem have been detected in workspace". Image

However, this has often given the wrong signal to me.
HLS might still be working to build my 450 modules so it is too early to announce "no problems".

It would be better if a temporary message "Building the project..." (or something else) would be posted there until it is clear there are actually no compilation errors.

andreasabel avatar Jul 29 '25 13:07 andreasabel

This is vscode, we are not consciously populating the Problems pane.

I am not sure whether we can easily change what is displayed here.

fendor avatar Jul 29 '25 13:07 fendor

Can one issue a pseudo-"warning" "Build in progress" that is remove once the built is complete?

andreasabel avatar Jul 29 '25 18:07 andreasabel

Potentially, a bit tricky since HLS's progress reporting isn't that great or structured.

fendor avatar Jul 30 '25 07:07 fendor

Ok, never mind. Prevented by a higher power...

Leave the issue open for visibility or close it, just as you prefer.

andreasabel avatar Jul 30 '25 08:07 andreasabel

I'll leave it open, for a better developer experience, it is something we need to eventually address.

fendor avatar Jul 30 '25 08:07 fendor