Javascript formatting when copying in VS 2017
After one of the recent VS 2017 Community updates, my javascript formatting was messed up when trying to copy portions of code.
Happened the most when I was refactoring code and was really annoying. Turns out there is a new "feature" called Language Service that causes the issue.
The fix is to uncheck the option: Tools -> Options -> Text Editor -> JavaScript/TypeScript -> Language Service:
Issue:
Fix - un-check Language Service