Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open two instances of Notepad++

Tags:

notepad++

I would like to have two Notepad++ shortcuts in desktop, imagine to have two Notepad++ installed each with their exe icon shortcut, that is what I want, so I will can work in two projects,

I have tried all with instances, and "multiins" or "atl + f6", but it does not work as I want,

again, this is different to another questions with the same title, I want to have two shortcut icons of notepad++, each one opening their files opened,

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

Thanks, I am using notepad++ 5.9.6

(imagine to open notepad++ and sublimetext, working different project in each one, I want to do that but only with notepad++ opening two notepads++, :P)

like image 403
dexter00x Avatar asked Jun 10 '15 01:06

dexter00x


People also ask

How do I open two screens in Notepad++?

To split the Notepad++ window into two sub-windows, right-click on an open tab, then click “Move to Other View” or “Clone to Other View”. Right-click on an open tab, then click “Move to Other View” or “Clone to Other View”.

How do I start a new session in Notepad++?

Double-clicking on a file from the tree-view will open it as a new tab in the Notepad++ editor (or will activate that tab if it's already open).


3 Answers

From the documentation:

You can launch Notepad++ with the -multiInst Command Line Switches. This will enable launching extra instances when opening files by double click or right click. Any command line will do, including the one that you can access from the Properties of the desktop shortcut.

You can always send a document being edited to another instance from the View menu or the tab right click menu, or call Run -> Open in another instance, regardless of this setting.

To force one file per instance Notepad-like behaviour, see Notepad-like Behaviour. This will hide the tab bar, but you can restore it from Settings -> Preferences -> Tab bar.

You can also access the properties of the Explorer Context Menu, and plug the -multiInst switch in the command line available there.

The Settings -> Preferences -> Multi-Instance preference widget allows choosing between the way Notepad++ handles multiple instances:

  • by default, us single instance mode
  • always use multiple instances
  • open session in new instance
like image 102
GYBE Avatar answered Oct 19 '22 09:10

GYBE


When you open the second file, whilst it opens as a second tab you can just grab the tab and drag it out of Notepad++ to open it in a second session. Sort of like how Firefox, Chrome and IE do it with tabs.

like image 24
Dan Donoghue Avatar answered Oct 19 '22 08:10

Dan Donoghue


There is a shortcut to open in new instance Alt + F6. Also if you want to open always in new instance than go to settings->prefrences->Multi-instance , here you can select option to always in multi-instance mode.

like image 11
NAVIN ROY Avatar answered Oct 19 '22 08:10

NAVIN ROY