IDE-1406 Make user can only use valid class name

1.make sure user can only type valid class name and it won't have any warning and error
message for its validation.