clarinet icon indicating copy to clipboard operation
clarinet copied to clipboard

LSP: Refresh diagnostic on file deletion

Open hugoclrd opened this issue 3 years ago • 2 comments

Currently, the "problems" (warnings and errors) of a contract are still displayed in the "problems" panel when the file is deleted. It should be refreshed.

Use fs watchers in clientOps like so:; https://github.com/hirosystems/clarinet/blob/4e2e53e053a90045594687ceac5f655d29c51452/components/clarity-vscode/client/src/common.ts#L17-L19

hugoclrd avatar Sep 13 '22 14:09 hugoclrd

Are we still experiencing this issue @hugocaillard? If so, do we want to keep it in our Q1 targets?

lgalabru avatar Feb 02 '23 01:02 lgalabru

Yes I'd like to keep this as part of a list of small improvements I can tackle in Q1 👍

hugoclrd avatar Feb 02 '23 15:02 hugoclrd