Fixes for code suggestions(remove duplicates, do not reset suggestions and do not trigger completion during suggestions search). Search suggestions by variable name in case when variable type is not resolved