Did you know… How to use the Text Visualizer? – #319

Let’s say you have a long string, maybe a SQL connection string or just some tabular data (or data separated by a space as shown below), and you need to view the entire string.

Of course, you could cut and paste into notepad to view the contents, but there’s a way to achieve the same effect from within Visual Studio.

Bring up the DataTip for the string, and click the circled drop down arrow:

Drop Down Button for Visualizers on DataTip

Now you’ll see a list of Visualizers to choose from.

Text Visualizer on DataTip drop down menu

Since this is a string, today’s tip picks the Text Visualizer. Note that this dialog box is resizable and you can copy and paste from within.


Technorati Tags: VS2005Tip,VS2008Tip

Comments (4)
  1. M says:

    I’ve used that tip happily for years! However i think that interface is not exactly intuitive, a menu with a checkbox already checked

  2. BigJim says:

    Sweet!  I never knew this before, this is a great help for those looooong strings I couldn’t see completely in the regular data tip.  Thank you!

  3. My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Clarius has released T4 Editor , a product that adds a good experience to Visual Studio for editing T4 templates. Pixel Mine has released

Comments are closed.

Skip to main content