Unfortunately, there is no way to do this. The White Space View option (available in the Modify | Advanced menu) White Space View is stored in the registry, which means that this option applies to all files and all Visual Studio sessions.
The next best thing is to find out the shortcut key and turn the function on and off if necessary. For Visual Studio 2008, the shortcut is Ctrl + E, S.
source
share