Update:
I don’t know what happened with the installation of Visual Studio code, but uninstalling and reinstalling the application (via homebrew) fixed the problem. Shift - Option - F once again formats the code!
I am trying to format the code in Visual Studio code on MAC OSX El Capitan.
For some reason, the default key binding ("Shift + Option + F") does not work. I also no longer have the opportunity to format the code with the command "Command + Shift + P" and enter the "format code". In fact, '> format code' is no longer an option in the list.
It worked, but I'm not sure what has changed.
"Shift + Option + F" does something, but creates a "̰" character, which leads to some strange cursor behavior (not sure how to describe it) when moving characters adjacent to the "̰" character.
Additional Information:
- I am creating an Ember.js application (v2.3.0)
- I tried formatting * .js, * .hbs and * .json files, but it doesn’t work in any of these
source
share