Files
clice/docs/feature/inlay-hint.md
2025-01-13 23:28:33 +08:00

600 B

Inlay Hint

Supported Case

  1. Type hint for variable declared with auto keywords in function/if/for/structure-binding.
  2. Return type hint for function/lambda body.
  3. Parameter name in function call expression.
  4. Block end hint for struct/class/enum declaration and function/lambda body.
  5. Array index for elements in initialize list expression.
  6. Value of sizeof and alignof in struct/class defination.

There is a configurable option, and some examples for above cases, see struct clice::config::InlayHintOption for more infomation.