Skip to content

Commit

Permalink
Restore code comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Nov 16, 2023
1 parent 8744661 commit 7e1d897
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/FsAutoComplete.Core/InlayHints.fs
Original file line number Diff line number Diff line change
Expand Up @@ -316,16 +316,16 @@ module private ShouldCreate =

isPostfixOf funcName paramName

// /// <summary>
// /// 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
// /// </summary>
/// <summary>
/// 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 &amp; 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
/// </summary>
let paramHint (func: FSharpMemberOrFunctionOrValue) (p: FSharpParameter) (argumentText: string) =
hasName p
&& isMeaningfulName p
Expand Down

0 comments on commit 7e1d897

Please sign in to comment.