Using new API to get typing preferences (still need to update preferences UI).
Adding scoped preferences to code formatting preferences.