From 7e1d8971a12fc24ab02060130f53238466aad188 Mon Sep 17 00:00:00 2001 From: nojaf Date: Thu, 16 Nov 2023 14:08:09 +0100 Subject: [PATCH] Restore code comment. --- src/FsAutoComplete.Core/InlayHints.fs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/FsAutoComplete.Core/InlayHints.fs b/src/FsAutoComplete.Core/InlayHints.fs index 931fea56a..18dda8872 100644 --- a/src/FsAutoComplete.Core/InlayHints.fs +++ b/src/FsAutoComplete.Core/InlayHints.fs @@ -316,16 +316,16 @@ module private ShouldCreate = isPostfixOf funcName paramName - // /// - // /// We filter out parameters that generate lots of noise in hints. - // /// * parameter has no name - // /// * parameter has length > 2 - // /// * parameter is one of a set of 'known' names that clutter (like printfn formats) - // /// * param & function is "well known"/commonly used - // /// * parameter does match or is a pre/postfix of user-entered text - // /// * user-entered text does match or is a pre/postfix of parameter - // /// * parameter is postfix of function name - // /// + /// + /// We filter out parameters that generate lots of noise in hints. + /// * parameter has no name + /// * parameter has length > 2 + /// * parameter is one of a set of 'known' names that clutter (like printfn formats) + /// * param & function is "well known"/commonly used + /// * parameter does match or is a pre/postfix of user-entered text + /// * user-entered text does match or is a pre/postfix of parameter + /// * parameter is postfix of function name + /// let paramHint (func: FSharpMemberOrFunctionOrValue) (p: FSharpParameter) (argumentText: string) = hasName p && isMeaningfulName p