Visual Studio: JSON visualizer when debugging - visual-studio

When debugging in Visual Studio 2010 and hovering over a variable name, I'm given the option to use 3 different built-in visualizers: Text, XML, & HTML.
Here is an example of what I'm referring to:
Since I'm doing more and more work with JSON based data, is there a JSON visualizer that I can install?

Yes, use this addon on Codeplex.
archive.org - JSON Viewer on Codeplex

Overtly visible disclamer: I wrote this and I'm giving it away for free via Microsofts Visual Studio Gallery. No ads, no link to my own site or anything.
I found this thread when looking for the exact same thing but seeing that http://jsonviewer.codeplex.com/ is "A visualizer for Visual Studio 2005" i felt that it was probably to outdated for my use. So I wrote a new visualizer instead (with built in jsonlint-support!). It has been tested with Visual Studio 2012 (but probably works fine for at least 2008 and 2010) and available from Microsofts Visual Studio Gallery.

You may reference theses posts:
JSON Debugger visualizer in Visual Studio 2012
JSON Debugger Visualizer in Visual Studio 2013

Actually it does work in visual studio 2010, but you have to unblock the assemblies. In explorer right click on the DLL and view properties the is a button to unblock the assembly.

I know the question references specifically Visual Studio 2010, but at least in Visual Studio 2019, the JSON Visualizer is already integrated so you don't need any extension, I would say.
Just select the JSON Visualizer in variable's view context menu:
And then press the view button:

Related

Can a language extension written in Visual Studio Code be used in Visual Studio 2017?

I am writing a language extension in Visual Studio code (see this article for an example), and I wish to know whether this extension will be useable in Visual Studio 2017 (and 2019 when it comes out).
According to the visual studio docs and especially to this picture it should be possible to migrate that language server to visual studio, too.
However it is not possible to use the exact same extension for VS Code as well as for Visual Studio. At least you will have to change the Provider-specific intizialization code (see the picture) to make the server work for Visual Studio, too.
For further reading you can check out the corresponding VS Code docu on language server.

Cannot find "Paste Special" option in Visual Studio 2017

I cannot see the Paste Special option in my Visual Studio 2017 Professional Edition:
Microsoft Visual Studio Professional 2017
Version 15.4.5
VisualStudio.15.Release/15.4.5+27004.2010
Microsoft .NET Framework
Version 4.7.02046
In this blog post it is shown for Visual Studio 2013. On my machine, the edit menu appears as below:
Is there a way to get back the option? Do I need to enable this option somehow?
I have missed an important step. There is nothing wrong in Visual Studio 2017. I was not in a .cs file.
Another possible answer to this problem is the WCF component is not installed in Visual Studio.
The Paste Special option will not show if you are debugging.
I stopped my application and the Paste Special option appeared right away.
This was in Visual Studio 2017, but I assume it would be the same for all versions.

"Cannot load resource" in Visual Studio 2015 toolbar with a DSL

Since converting a DSL-tools language to Visual Studio 2015, the toolbox options are gone, there are no options to add model elements to the DSL editor.
If I select the "Show All" option in the Visual Studio 2015 toolbox I see a strange "Cannot load resource" entry that I'm assuming that corresponds to the toolbox tab of my DSL.
Does anyone have any idea of what is happening here or any tips on how to diagnose how Visual Studio 2015 loads the toolbox so that I can find which is the "resource" that it cannot load?
Finally I found the solution a little by chance. This post pointed me in the right direction:
DSL designers built from migrated beta 2 solutions might have empty toolbox
The setting missing in the DSL package csproj file was the following:
<RegisterWithCodebase>true</RegisterWithCodebase>
It got lost in the transition from Visual Studio 2013 to Visual Studio 2015 while editing the projects references.

Code Map Missing Visual Studio

We just switched over to VS 2013 and I heard that you're supposed to be able to
generate code maps for your entire application. Awesome feature indeed, that could
get new developers on our project up to speed.
Watched a couple of tutorials, but when I tried to just right click on a method
in the application, the 'Show on Code Map' context menu is missing. In fact, I
can't find anything in VS that has anything to do with Code Maps.
My version:
Visual Studio Premium 2013
I tried installing Modeling SDK for Microsoft Visual Studio 2013, but that didn't do anything.
Anyone got any ideas?
You need Visual Studio ULTIMATE to create Code Maps.
http://msdn.microsoft.com/en-us/library/jj739835.aspx
This has changed for Visual Studio 2015 and Visual Studio 2017:
The Enterprise Edition allows creating code maps.
The Community and Professional Editions can open diagrams generated in other Visual Studio editions in read-only mode.

Is there a Visual Studio 2010 Add On for Tabbed Multi-Monitor support

In Visual Studio 2010 you can drag tabs out to separate windows but you can not collect them together as additional tabbed elements. Is there a VS 2010 add-on to allow you to group your extra windows into tabs? It would be really nice to have a set of tabs on each of my monitors.
The best place to look is the Visual Studio Gallery for 2010 Extensions. If you are lucky someone else has already had the idea and created an extension (VSIX) for you.
Otherwise, why do you have a go at writing it yourself by grabbing a copy of the Visual Studio 2010 SDK and read the Getting Started Guide.
UPDATE: I just stumbled on this awesome Visual Studio Extension that may do want you are looking for: Visual Studio 2010 Pro Power Tools.
http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef
Productivity Power Tools does it, and it's free. The feature is called Document Well.

Resources