Freigeben über


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: VS2005Tip,VS2008Tip

Comments

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

  • Anonymous
    September 24, 2008
    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!

  • Anonymous
    September 24, 2008
    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

  • Anonymous
    March 02, 2009
    本篇包括tip311-tip320http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-31.html#311、按S...