aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
470 stars 91 forks source link

Make lsp less chatty (opt) #910

Closed waalge closed 5 months ago

waalge commented 6 months ago

What is your idea? Provide a use case.

Currrent sitch:

During dev, prime screen real estate littered with messages like : No big deal, but you might want to ... Cute but noisy.

Suggestion: Option for terse lsp. eg aiken lsp --frank ... W: unused var

Why is it a good idea?

As informative, less clutter.

rvcas commented 5 months ago

can we make this a discussion about how to handle less verbose error messages in general.

There is no reason that this needs to be LSP exclusive. We could have it work universally for check, build, docs, and lsp

waalge commented 5 months ago

Sure. Its most apparent to me in the lsp cos the hints are rendered as the trailing line, and the informative parts are then often off screen.