Add new pref maxCodeHints

For #9529.
I confirmed this is a performance boost for Code Hints.
I thought the same at first, but then thought it may confuse some.
Let's try it.