1.30.2014

How to add context menu to NotePad++ to switch from Unix to Windows Format

How to add context menu to NotePad++ to switch from Unix to Windows Format

Go to C:\Users\%USERNAME%\AppData\Roaming\Notepad++\contextMenu.xml

Open the ContextMenu.xml file in NotePad++

Add the following lines to the top above "<Item MenuEntryName="Edit" MenuItemName="Cut"/>"

These three lines should be added...

"
<Item id="45001" name="Convert to Windows Format"/>
<Item id="45002" name="Convert to UNIX Format"/>
<Item id="45003" name="Convert to MAC Format"/>
"

Save the file, close NotePad++, and re-open. 

You will now get a right-click option to convert from Unix to Windows and vice versa. 

Additionally, this option can be found by going to Edit > EOL Conversions


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.