How to reset split screen to default in Notepad++
Asked Answered
E

9

41

Using the compare plugin in Notepad++ splits the screen between the two files being compared. Is there a fast way to revert the screen to have all of the tabs again in a single window, as is the default view upon opening the application?

Edgell answered 16/9, 2011 at 20:15 Comment(1)
TLDR Its Ctrl + Alt + C for notepadd v7.6.3Zetes
E
27

I believe this would be Ctrl + Alt + d.

To get to the split script use Alt + d.

See under Plugins -> Compare.

Execrative answered 16/9, 2011 at 20:17 Comment(4)
That command successfully closes the comparison nav bar, but the split screen divider persists.Edgell
I had an older version of notepad++ when I asked this question. Now that I upgraded, the command you described works perfectly! Thanks again.Edgell
This no longer works in NP++ v6.9. The two solutions below (dragging or right-clicking) do however.Damien
@ChrisMueller - it does. You need the comparison plugin.Execrative
A
53

Right click on the tab and the choose "Move to Other View" This works for me on npp v6.6.9

Ardine answered 16/12, 2014 at 2:14 Comment(1)
I had to do this twice. The first time stopped comparing. The second time went back to the default view.Zohar
E
27

I believe this would be Ctrl + Alt + d.

To get to the split script use Alt + d.

See under Plugins -> Compare.

Execrative answered 16/9, 2011 at 20:17 Comment(4)
That command successfully closes the comparison nav bar, but the split screen divider persists.Edgell
I had an older version of notepad++ when I asked this question. Now that I upgraded, the command you described works perfectly! Thanks again.Edgell
This no longer works in NP++ v6.9. The two solutions below (dragging or right-clicking) do however.Damien
@ChrisMueller - it does. You need the comparison plugin.Execrative
L
15

You can drag all the files from one side to the other side. This will close the window that was left empty.

Liddle answered 19/8, 2014 at 11:54 Comment(1)
For me this is the best answer as I now understand the reasoning behind it. I had several files opened in the split screen. So compare->clear results didn't solve the issue.Seersucker
S
2

Ctrl + Alt + D will clear the comparison results.

If the split screen remains after clearing the comparison results, this is likely due to still having files open within each of the two split-screened-windows.

To resolve this, close the open files or move them from one of the two split screen windows to the other. Moving them can be done via drag and drop or by right-clicking on the file's tab and choosing 'move to other window". When the last file is moved or closed the split screen will disappear.

Swoop answered 26/8, 2016 at 0:13 Comment(0)
A
2

You used Ctrl + Alt + Shift + x and it does not help? Then try this if you use the Document List Panel (Settings > Preferences > General > Document List Panel > [x] Show) instead of the Tab bar (Settings > Preferences > General > Tab bar > [x] Hide), you should move all the files on the side with less files to the other view.

  1. Find out which side has less files open by opening the Window menu once on both sides.

  2. To move a file from one view to the other use View > Move/Clone Current Document > Move to other view or Alt + v m Enter

  3. Still in split view? Switch focus back to the other side using F8 and go to step 2.

Once all files on one side have been moved, the split view will disappear automatically.

PS. I know the question was about "tabs". However I regard the Document List as a better variant of "tabs".

Avisavitaminosis answered 29/4, 2021 at 10:5 Comment(0)
P
1

Under the plugins>Compare>Clear Results is where you will find a clickable menu option to do it aprt from the keyboard shortcut.

Parsimony answered 20/5, 2014 at 16:46 Comment(0)
B
1

For "Clear Active Compare" - ctrl + Alt + X For "Clear All Compares" - ctrl + Alt + Shift + X

Butcher answered 21/3, 2018 at 6:52 Comment(0)
F
1

If you have disabled the Tab bar (Settings | Preferences | General | Tab bar | [x] Hide) and use Document List / Switcher (Settings | Preferences | General | Document List Panel | [x] Show), what you need to do is to first close all the documents open in the clone/split view. Once all files open in that have been closed, the split view will also close automatically.

Now, unfortunately there is no way(?) to tell what you have open in the split view and the main view. You'll just have to click on the right side split, and keep pressing Ctrl + W until the split view goes away. I guess you could also enable Tab bar for this occasion.

Filberto answered 18/10, 2018 at 11:8 Comment(0)
C
1

Plugins--> Compare--> Clear Results

Crippen answered 23/11, 2018 at 22:23 Comment(1)
Welcome to Stack Overflow where answering questions is appreciated. However, repeating an existing answer is not very helpful, it just adds clutter to this site. Please look for other questions and, if you can, provide new answers.Dilator

© 2022 - 2024 — McMap. All rights reserved.