Making the Invisible Visible Extension

This post has been republished via RSS; it originally appeared at: Channel 9.

Today's extension from Shane Ray is one that many of you might think you don't need, but I'll bet you have run into it.

In short, it's an extension that surfaces, or makes visible, those invisible characters that can invade your strings...

Invisible Character Visualizer

"I ran into an issue where some code was not running as expected. I hopped on StackOverflow and posted my question.

https://stackoverflow.com/questions/42423320/getmethod-returning-null

The question was quickly answered. The issue ended up being an "Invisible" character hidden away in my string. I had ran into this problem before and did not want to run into it again, so I created this extension.

With this extension it is very easy to spot "Invisible" characters that may be unwanted.

image

image

image

..."

And it's open source too, https://github.com/shaneray/ShaneSpace.VisualStudio.InvisibleCharacterVisualizer