Tools -> Options -> Text Editor -> General: Automatically surround selections when typing quotes or brackets