Open two instances of Notepad ++

I would like to have two Notepad ++ shortcuts on the desktop, imagine that you have two Notepad ++ shortcuts, each of which has a shortcut with exe icon, and this is what I want, so I can work in two projects.

I tried everything with instances, "multiins" or "atl + f6", but it doesn't work the way I want,

again, this is different from other questions with the same name, I want to have two notepad ++ icon shortcuts, each of which opens its own files, open,

If this is not possible, I will need to use notepad ++ and sublime text at the same time, but this will be a very ugly option

Thanks, I'm using notepad ++ 5.9.6

(imagine, to open notepad ++ and sublimetext, working on a different project in each of them, I want to do this, but only using notepad ++ opens two notebooks ++ ,: P)

+6
source share
4 answers

When you open a second file while it opens as a second tab, you can just grab the tab and pull it out of Notepad ++ to open it in the second session. It looks like Firefox, Chrome, and IE are doing this with tabs.

+13
source

http://docs.notepad-plus-plus.org/index.php/Multiple_Instances

"You can start Notepad ++ using the -multiInst command line switches. This will allow you to launch additional instances when you open files by double-clicking or right-clicking. Any command line will work, including the one you can access from the shortcut properties on the desktop.

You can always send a document edited to another instance from the View menu or the Right-Click menu or call Run โ†’ Open in another instance, regardless of this parameter.

To force a single file per instance of notepad-like behavior, see Notepad-like Behavior. This will hide the tab bar, but you can restore it from "Settings" โ†’ "Settings" โ†’ "Tab Bar".

You can also access the properties of the explorer context menu and enable the -multiInst switch in the command line available there.

Settings โ†’ Settings โ†’ Preferences widget with multiple instances allow you to choose between how Notepad ++ handles multiple instances:

by default, single instance mode always use multiple instances of an open session in a new instance "

+8
source

Notepad ++ runs on a single instance, even while working on different windows. You can find another example of such an application in Microsoft Office Excel. You open windows with files, but it runs on exactly the same process (EXCEL.EXE).

+1
source

I simply drag and drop a tab from an existing session to the desktop and open another instance.

-2
source

Source: https://habr.com/ru/post/988824/


All Articles