How can I get VS to source highlight .json source code? I'd also like to have it have some of the same key-bindings that normal JavaScript enjoys. In a way all I'd really need/want is a way to have Visual Studio recognize a .json file as a .js file (I think). Is this possible?
Formatting# You can format your JSON document using Ctrl+Shift+I or Format Document from the context menu.
If you want to add a json file directly, you can right click ->add items->choose Json file.
Great news!
In CTP2 of Visual Studio 2013 Update 2 that was added a New JSON project item and editor
One more post New JSON editor features in Visual Studio 2013 Update 2 CTP2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With