You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// hide when:// - the parameter name is a suffix of the function's name// - the argument is an enum whose name is equal to the parameter// - exact argument<->parameter match(ignoring leading underscore) or parameter is a prefix/suffix// of argument with _ splitting it off// - param starts with `ra_fixture`// - param is a well known name in a unary function
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.
Though quite nice in general, there are some cases Inlay Hints are redundant or distracting:
not
orignore
)some maybes?
printfn
& cosprintf
& co functions are very often used -> very distractingformat
-> wants format string)List.map
& co-> maybe setting to disable some hints (-> user defined list with hints to disable? By type and or parameter name (regex?)?)
How others handle inlay hints:
25
by default30
The text was updated successfully, but these errors were encountered: