Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to split the Notepad++ window so that I can edit two files side by side.

How can I do this in Notepad++?

share|improve this question

5 Answers 5

up vote 161 down vote accepted

In Notepad++ 5.7 you can right-click on a tab and select "Move to Other View". You can also select "Clone to Other View" if you want to have the same file open more than once and see different parts of it. You can right-click the divider line and rotate the views to be either side-by-side or top-and-bottom.

share|improve this answer
1  
I did not know this was possible. So great, thanks! –  Wok Nov 28 '10 at 22:57
    
That is cool - I started using Notepad++, but haven't really looked closely at what it can do. –  John C Nov 28 '10 at 23:25
3  
Under plugins, there's also a handy COMPARE feature. :D –  Rob Sep 21 '11 at 19:37
2  
@Rob I don't know about the recent Notepad++s, but I had to 'manually' install the Compare plugin via Plugin Manager. (I'm an 'old' Notepad++'er.) –  Mateen Ulhaq Sep 24 '11 at 4:14
    
It came preinstalled about 6 months ago, at least. –  Rob Sep 27 '11 at 14:06

As mentioned in the comments, there's a very handy compare plugin for Notepad++, that allows side-by-side comparison, indicating discrepancies.

compare plugin

share|improve this answer
2  
Beware that on large files (5000 lines +), using this plugin and then modifying the files can lead to some severe file corruption. Not sure of the exact conditions that causes it, but this cost me to redo a lot of work recently –  neelsg Sep 12 '14 at 10:46

As well as moving or cloning the document to a separate view pane, you might want them to scroll together too, in a truly "side by side" manner. This makes it much easier to perform line-by-line comparison, for instance.

To achieve this, go to View -> Synchronize Vertical Scrolling (or Synchronize Horizontal Scrolling).

This may be sufficient for many, without requiring the need for the Compare plugin others have mentioned.

share|improve this answer
1  
You must have the same zoom in both document. –  MUY Belgium Apr 23 '14 at 13:11

It is pretty straightforward, just go to: View → Move/Clone Current Document → Clone to Other View.

Source: http://aneeska.com/2010/06/09/how-to-add-split-view-to-notepad

share|improve this answer

You can even compare two files side by side (without changing the view) using COMPARE plugin, as long as you have two files at the end of the tab. Here is an example.

The keyboard shortcut for comparing is ALT+D. To Clear comparison, CTRL+ALT+D.

enter image description here

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.