ionide / FsAutoComplete

F# language server using Language Server Protocol
Other
409 stars 154 forks source link

Hide some Inlay Hints #924

Closed Booksbaum closed 2 years ago

Booksbaum commented 2 years ago

Though quite nice in general, there are some cases Inlay Hints are redundant or distracting:



How others handle inlay hints:

baronfel commented 2 years ago

These are all really helpful suggestions, thanks for the time you took writing it up! I agree on the length, that's a really good thing to add and plumb through.

The more-specific kinds of hints might be more difficult to do, but of course we'd love to be able to offer more toggles so that people can choose the specific kind of hints they want, easily.

One other thing we should do is round-trip the configuration settings I've added in ionide around hint generation into the generation side of things here in FSAC, not just the rendering side in Ionide.

piaste commented 2 years ago

Add to the list: unary operators

let x = 11
let y = -x

becomes:

image