Little Professor
for Android
Copy Location
Shell Extension
Open with Notepad
Shell Extension
IrfanView region
capture plugin
Auto File Save
Add-In
Strip'em
Add-In
AutoCopy
chrome extension
C-style time_t conversion
Macros Page
Useful Links
|
|
Strip'em Add-in for Visual Studio
This Add-in converts the text format of a file when it
is saved in Visual Studio.
This can be very useful when working in a mixed Windows-Unix
environment. In Unix, end of lines in text files are
identified by line feed characters. In Windows - they are
identified by a combination of carriage return and line feed.
This add-in makes sure that files will be saved the way you want.
It support end-of-line (EOL) convertion to Unix, Windows or old Mac conventions.
Download
Open the add-in's configuration dialog by selecting Tools | Strip'em from the menu.
There's also a Strip'em button on the standard toolbar.
You can select the EOL convention or completely disable the conversion from the dialog.
You can also choose to convert only files with names that match a given
regular expression.
Download
You can download the Add-in and the source code separately:
Add-in only - installer for VS 2017 (thanks to Damien Clark), Source code (thanks to Sylvain Doremus).
Add-in only - installer for VS 2015 (thanks to Dessix), Source code
Add-in only - installer for VS 2013 (thanks to Turing Eret), Source code
Add-in only - installer for VS 2012 (and 2010), Source code
Add-in only - installer for VS 2008, installer for VS 2010 (older version), Source code
Add-in only - for VS 6, Source code
Setup
Just run the installer. If Visual Studio is open, you need to close and open it to load the add-in.
The installer copies the add-in's files into C:\Users\<user>\Documents\Visual Studio 2012\Addins.
If you have a previous version of Strip'em, please uninstall it first.
To configure the EOL mode, open Visual Studio and select: Tools | Strip'em,
or click the strip'em button in the standard control bar
Possible problems
Strip'em catches file save events and converts the EOLs in the file.
You need to configure Visual Studio to automatically reload files that
change externally.
Select Tools | Options... | Environment | Documents from the menu. Check
"Detect when file is changed outside the environment" and "Auto-load
changes, if saved".
History
Feb 16, 2017
Port of the add-in to Visual Studio 2017, by Sylvain Doremus.
Feb 15, 2015
Port of the add-in to Visual Studio 2015 preview, by Dessix.
Nov 16, 2013
Port of the add-in to Visual Studio 2013 beta, by Turing Eret.
Jan 31, 2012
Port the project to Visual Studio 2012.
The menu, button and dialog box icons were changed to match the new VS look.
Added a button to the Standard toolbar.
A small change in the code was required to add an icon to the menu item.
Jan 24, 2011
Add an installer for Visual Studio 2010.
The source code is the same except for one small change: in stripem.AddIn,
changed the value of the <version> tags to 10.0. Thank to Dimitar Dobrev
for helping me sort this out.
Jan 21, 2010
Two fixes for convertion to Unix format:
1. Correctly convert DOS paragraphs, which are secuences of CR followed by LF.
2. Always make sure Unix files end with LF.
Aug 9, 2009
First release.
Freeware
This software is free. It is distributed with the
source code and you are encouraged to do anything you
want with it. If you do anything interesting, I'd be
happy to hear about it.
Have fun
|