<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[np++ 64bit - max number of tabs]]></title><description><![CDATA[<p dir="auto">i often need to edit (search/replace mostly) a lot of .rpy game files simultaneously, sometimes up to a few hundred files in one game. when i use Edit with NP++ after selecting all of them from windows explorer context menu, when theres a lot of files, np++ spreads them over a few instances of it, like today for ~560 files it opened 6 instances of itself. i want all files to open in a single instance of np++ so i dont have to do same replace operation in each instance. how do i force it to always use 1 instance no matter how many files?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16241/np-64bit-max-number-of-tabs</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 06:27:17 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16241.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Aug 2018 14:32:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to np++ 64bit - max number of tabs on Wed, 29 Aug 2018 21:49:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12916">@sign-in-smth</a></p>
<p dir="auto">Perhaps you can figure out an easy way to create a session file that has the files you want to edit, then use the -opensession command line option to open them as a session in a new instance.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34466</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34466</guid><dc:creator><![CDATA[Jim Dailey]]></dc:creator><pubDate>Wed, 29 Aug 2018 21:49:17 GMT</pubDate></item><item><title><![CDATA[Reply to np++ 64bit - max number of tabs on Wed, 29 Aug 2018 20:45:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12916">@sign-in-smth</a> ,</p>
<p dir="auto">An idea for a workaround: open just 1 (or a few) of the files from the explorer context menu; once that instance of NPP is open for you, drag the rest into Notepad++. I tried that with my multi-instance, and all ~1000 went into the same instance when one was context menu opened, and then the remaining that were dragged in also went in that same instance.</p>
<p dir="auto">Other than that, the problem is on the Windows side, and (AFAIK) there’s nothing a multi-instance Notepad++ can do about it: it cannot know that in circumstance X, that you want multiple runnings of notepad++.exe to open in multiple instances, but in circumstance W, you want multiple runnings of notepad++.exe to open in a single instance.  Maybe you’ll come up with some creative alternative.  Good luck.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34464</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34464</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 29 Aug 2018 20:45:04 GMT</pubDate></item><item><title><![CDATA[Reply to np++ 64bit - max number of tabs on Wed, 29 Aug 2018 17:19:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12916">@sign-in-smth</a></p>
<blockquote>
<p dir="auto">so now what… we need some kind of workaround for this sort of windows behavior of…</p>
</blockquote>
<p dir="auto">Sounds like it…and when you come up with it, please post it here so others can benefit.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34459</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34459</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Wed, 29 Aug 2018 17:19:35 GMT</pubDate></item><item><title><![CDATA[Reply to np++ 64bit - max number of tabs on Wed, 29 Aug 2018 17:17:48 GMT]]></title><description><![CDATA[<p dir="auto">Peter thanks so much, some amazing research you did so quickly!<br />
Yes it seems to be exactly like you say, with that many files we get separate multiple calls to np++ =&gt; separate instances with multi-instance setting in prefs. and the ‘Default (mono-instance)’ fixes it.</p>
<p dir="auto">however i still wouldnt want to keep the mono setting enabled in np++ permanently, because i do want multiple instances when i actually call np++ multiple times with different (groups of) files.</p>
<p dir="auto">so now what… we need some kind of workaround for this sort of windows behavior of splitting that many arguments into separate calls to application.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34457</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34457</guid><dc:creator><![CDATA[sign-in-smth]]></dc:creator><pubDate>Wed, 29 Aug 2018 17:17:48 GMT</pubDate></item><item><title><![CDATA[Reply to np++ 64bit - max number of tabs on Wed, 29 Aug 2018 16:18:55 GMT]]></title><description><![CDATA[<p dir="auto">I just created 1024 0-byte files, then ran <code>notepad++ *.txt</code> on the cmd.exe command line: all 1024 opened successfully (with NPP 32bit 7.5.6).  So it’s not a file limit for 32bit Notepad++ (and thus not for 64bit, because such things generally have as much or more room in 64bit environment).</p>
<p dir="auto">If you opened them <em>en masse</em> from the explorer context menu, you probably hit a limit as to the number (or total length?) of arguments that Windows is willing to pass to the executable, and it probably then split it into a few separate runs of notepad++.exe, each with a subset of the total list of files.  If you don’t have <strong>Settings &gt; Preferences &gt; Multi-Instance &gt; Default (mono-instance)</strong>, that would result in a separate instance of Notepad++ for every time that Windows called notepad++.</p>
<p dir="auto">When I opened the 1024 <em>en masse</em> from explorer context (with mono-instance), they seemed to appear in chunks… so I think that was Windows calling notepad++.exe multiple times.  But it did eventually open them all in the single instance.</p>
<p dir="auto">If I switch to multiple-instance mode, Windows ran notepad++.exe with about 20-40 files in each instance.</p>
<p dir="auto">Thus, if you want to be able to ExplorerContextMenu-open hundreds of files into a single instance of Notepad++, you need to have mono-instance option selected – it’s Windows calling notepad++.exe multiple times that’s the culprit, and the mono-instance just insures that no matter how many times Windows calls the executable, only one Notepad++ window will be opened.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34454</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34454</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 29 Aug 2018 16:18:55 GMT</pubDate></item><item><title><![CDATA[Reply to np++ 64bit - max number of tabs on Wed, 29 Aug 2018 15:11:12 GMT]]></title><description><![CDATA[<p dir="auto">yeah thanks! “find in files” seems like a nice feature, never used it before.</p>
<p dir="auto">however original question still remains i think, why hardcode a (low) limit of tabs for a single instance of np++? why i cant open all in one if they are just small text files and i have plenty of RAM, and its a 64bit app?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34450</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34450</guid><dc:creator><![CDATA[sign-in-smth]]></dc:creator><pubDate>Wed, 29 Aug 2018 15:11:12 GMT</pubDate></item><item><title><![CDATA[Reply to np++ 64bit - max number of tabs on Wed, 29 Aug 2018 14:44:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12916">@sign-in-smth</a></p>
<p dir="auto">Don’t know, but maybe change your approach:  Try the <strong>Replace in Files</strong> function…with that you don’t have to have the files to affect <em>open</em> in Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34448</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34448</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Wed, 29 Aug 2018 14:44:06 GMT</pubDate></item></channel></rss>