KT-5079 Support smart completion for when values

 #KT-5079 Fixed
Fixed KT-5101 Partly qualified name is inserted by code completion

 #KT-5101 Fixed