views:

225

answers:

1

Is there a way to enable/disable the "View Whitespace" feature in Visual Studion on a per-filetype basis? I'd like to be able to edit python files with visible whitespace, but not other types.

+2  A: 

Unfortunately, there is not a way to do this. The 'View White Space' setting (available from the Edit|Advanced|View White Space' menu option) is stored in the registry, which means the setting is applied to all files and all sessions of Visual Studio.

The next best thing is learn the shortcut key and toggle the feature on and off as necessary. For Visual Studio 2008, the shortcut is Ctrl+E, S.

Matt Davis
Yea, that's kinda what I figured. Oh well.
omellet