Oliver Mellet
Oliver Mellet

Reputation: 2387

Per-filetype "View whitespace" setting in Visual Studio

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.

Upvotes: 3

Views: 507

Answers (1)

Matt Davis
Matt Davis

Reputation: 46044

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.

Upvotes: 3

Related Questions