Add pref to prevent js code hints on dot

This is for #7706 

Showing js code hints on dot messes up a coding style being used by some AngularJS users.