Skip to content

laurentkempe/TrailingWhitespace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trailing Whitespace extension for VS2012/2013/2015

Build status

This extension will highlight any trailing whitespace on any line in any editor in Visual Studio.

Download and install the extension from the Visual Studio Gallery or get the nightly build.

C# whitespace

Remove trailing whitespace

You can very easily delete all the trailing whitespace in a file by executing the Delete Horizontal White Space command found in Edit -> Advanced or by using the shortcut key combination Ctrl+K, Ctrl+\

Changing the background color

You can change the background color from the Tools -> Options dialog under the Environment -> Fonts and Colors settings. The setting is for the Text Editor and the display item is called Trailing Whitespace.

VisualStudio2013OptionsDialog

Remove on save

Every time a file is saved, all trailing whitespace is removed. This can be disabled in the Tools -> Options dialog.

Options dialog

About

Display trailing whitespace in any VS editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%