Skip to content

Allow setting call parameter hint setting per-function #7835

@SlidyBat

Description

@SlidyBat

What is the feature you'd like to have?
The call parameter hint feature is very helpful in some cases, but adds lots of noise in others. I'd like to be able to default it to off/on globally, but then be able to override that setting for specific functions.

Some motivating examples for specific functions where you'd want to override parameter hints to on:

  • Functions with many arguments where it is hard to remember which argument is which
  • Functions that take bunch of bools or magic numbers

And some motivating examples for specific functions where you'd want to override parameter hints to off:

  • Very common functions that have obvious arguments, the hint only adds noise (e.g. malloc, free, strlen, ...)
  • Functions with poorly named arguments (e.g. std::string methods that take __s as an argument, or any function with very long argument name)

Is your feature request related to a problem?
I like the call parameter hint setting, but in lots of contexts it adds bunch of noise that I don't like.

The functions that I want parameter hints on for are much less common, so the ideal scenario for me would be to have the feature off by default, but allow it to be enabled for only specific functions.

Are any alternative solutions acceptable?
Current workaround for this is to just not name arguments of a function if I don't want the parameter hints to show up (ie. leave them named as arg1, arg2, ...), but that isn't great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions