开发者

How to reset split screen to default in Notepad++

开发者 https://www.devze.com 2023-04-05 05:29 出处:网络
Using the compare plugin in Notepad++ splits the screen between the two files being compar开发者_如何学编程ed. Is there a fast way to revert the screen to have all of the tabs again in a single window

Using the compare plugin in Notepad++ splits the screen between the two files being compar开发者_如何学编程ed. 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?


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


I believe this would be Ctrl + Alt + d.

To get to the split script use Alt + d.

See under Plugins -> Compare.


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


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.


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


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


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.


Plugins--> Compare--> Clear Results


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".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号