CLion: Disable Inlay Parameters Hints for array brace initialization

Answered

Hello,

I would like to disable parameter hints when initializing std::arrays with brace initialization to not display every .__elems_[i]

 

Here my default configuration.

As far as I understand, it should already be disabled.

I can disable hints for the specific array, but this is not a definitive solution, since for a new array CLion will display the parameter hint again.

It there any solution?

CLion 2021.1.1

Thanks

2 comments
Comment actions Permalink

I'd also appreciate a solution to this - it looks really bad in my opinion and I've never seen anything like this before.

0
Comment actions Permalink

Hello!

In CLion 2022.1 RC (https://www.jetbrains.com/clion/nextversion/) there is a new option - `File | Settings | Editor | Inlay Hints | Parameter names` > `C/C++` > `Show hints for array indices`. Feel free to try it.

0

Please sign in to leave a comment.