Enhance inlay hints for F# code by adding support for methods and tupled arguments, and improve hint logic. Refactor InlayHints.fs to avoid duplicate calls.
🤖 Generated by Copilot at 2ecb8f6
To make F# code more concise and clearThis pull request adds some hints to appearFor methods and tuplesWith some clever scruplesAnd ShouldCreate.paramHint refactored here
🚀🛠️♻️
WHY
This lights up type hints for constructor and method parameters! More hints, more better :)
HOW
🤖 Generated by Copilot at 2ecb8f6
Extend condition for showing parameter hints to methods as well as constructors, based on a TODO comment (link)
Implement parameter hints for tupled arguments, using ArgumentLocations property of FSharpParameterLocationInfo and skipping named arguments (link)
Refactor ShouldCreate.paramHint function call to use a local variable and avoid duplication (link)
WHAT
🤖 Generated by Copilot at 2ecb8f6
Enhance inlay hints for F# code by adding support for methods and tupled arguments, and improve hint logic. Refactor
InlayHints.fs
to avoid duplicate calls.🤖 Generated by Copilot at 2ecb8f6
🚀🛠️♻️
WHY
This lights up type hints for constructor and method parameters! More hints, more better :)
HOW
🤖 Generated by Copilot at 2ecb8f6
ArgumentLocations
property ofFSharpParameterLocationInfo
and skipping named arguments (link)ShouldCreate.paramHint
function call to use a local variable and avoid duplication (link)