Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

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.

image

Technorati Tags: ,
Posted: Tuesday, September 23, 2008 3:00 AM by saraford

Comments

M said:

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

# September 24, 2008 5:50 AM

BigJim said:

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!

# September 24, 2008 8:10 AM

Visual Studio Hacks said:

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

# September 24, 2008 4:33 PM

xjb said:

# March 2, 2009 8:19 PM
New Comments to this post are disabled
Page view tracker