<?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[Feature request: toggle expand/collapse]]></title><description><![CDATA[<p dir="auto">One of the feature I really like on Notepad++ is the ability to expand and collapse parts of my code. I work a lot with keyboard shortcuts so having such a helpful feature activated through shortcuts is great for me.</p>
<p dir="auto">However, having to click on four keys (ctrl+alt+shift+F) to unfold my current tag is uncomfortable when ctrl+alt+F does nothing at that point in time. I think it would be much faster and simpler to use if ctrl+alt+F becomes a toggle so it is able to expand or collapse the current level depending on its previous state. Being a “shortcut-aholic”, I can tell these tiny things really make a difference.</p>
<p dir="auto">Similarly, I’d suggest that this toggle behavior is expanded also to Alt+n shortcuts. I think it is much faster and usable to have Alt+n expanding or collapsing level “n” based on its previous state that having to press or unpress the shift key to perform that action. Anyway, my priority would be for ctrl+alt+F. Having to add a fourth key (shift), is a little bit too much.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13146/feature-request-toggle-expand-collapse</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 14:18:16 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13146.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Jan 2017 08:39:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Fri, 03 Jun 2022 16:57:25 GMT]]></title><description><![CDATA[<p dir="auto">Since he didn’t mention the version number, I thought I’d chime in and say that the code fix that Don linked to was <a href="https://community.notepad-plus-plus.org/topic/23072/notepad-v8-4-2-release">included in v8.4.2</a>, so it is now readily <a href="https://notepad-plus-plus.org/downloads/v8.4.2/" rel="nofollow ugc">available for download</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/77291</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/77291</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 03 Jun 2022 16:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Thu, 19 May 2022 16:39:29 GMT]]></title><description><![CDATA[<p dir="auto">“Make fold/unfold current line commads togglable” is implemented here:<br />
<a href="https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11699" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11699</a></p>
<p dir="auto">However, folding/unfolding toggling option is only available for <code>Collapse Current Level</code> command <strong>Ctrl+Alt+F</strong> (and  for <code>Uncollapse Current Level</code> command <strong>Ctrl+Alt+Shift+F</strong> of course, but once this option is enabled,   <strong>Ctrl+Alt+Shift+F</strong> is useless).</p>
<p dir="auto"><code>Fold All</code>, <code>Unfold All</code>, <code>Collapse Level N</code> &amp; <code>Uncollapse Level N</code> cannot be toggled because the state of several levels cannot be determinated.</p>
<p dir="auto">Here is a good example:</p>
<p dir="auto"><img src="/assets/uploads/files/1652977019090-ec0093ac-7905-4aba-ab3e-5944a04614cc-image.png" alt="ec0093ac-7905-4aba-ab3e-5944a04614cc-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">There are 4 level-2 tag under the root (level 1), 2 are expanded and 2 are collapsed. The result of using the toggle option on <code>Collapse Level 2</code> <strong>Alt+2</strong> will be confusing.</p>
<p dir="auto">For the sake of consistence, folding toggle option is implemented for only one level.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/76925</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/76925</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Thu, 19 May 2022 16:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Mon, 18 Apr 2022 16:00:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/p-cooper" aria-label="Profile: p-cooper">@<bdi>p-cooper</bdi></a> said in <a href="/post/76130">Feature request: toggle expand/collapse</a>:</p>
<blockquote>
<p dir="auto">so no need for the telling-off in my case,</p>
</blockquote>
<p dir="auto">It wasn’t meant as a telling off.  You had provided useful information, then inexplicably (from my perspective) deleted it.  Since it was 2 hours after you posted, I assumed you weren’t going to re-post.  I had thought the information was useful enough that it warranted me posting the link.  Sorry if you felt told-off.</p>
<p dir="auto">Oh, maybe you meant my original message informing you that nothing can happen unless an issue is created?  In which case, it wasn’t a telling off, but a frustrated response, because we often get situations like this: someone asks for a feature here, and then a year or two later, new users come by and tell us off for not fixing the bug or implementing the feature – when no one went to the effort to put in a feature request.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/76131</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/76131</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 18 Apr 2022 16:00:52 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Mon, 18 Apr 2022 15:48:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>, I <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11529" rel="nofollow ugc">did</a>, actually, right after posting here, should have come back to point it out, so no need for the telling-off in my case, I hope. While I was editing my post, I came up against a time limit, decided to delete and re-post in edited form but came up against another time limit for posting several times in a row. Bit of a catch-22 there…</p>
<p dir="auto">A native command will still be much more accessible to users, but thanks very much, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> for providing the code and <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a> for adding info on how to get it working.</p>
<p dir="auto">I downloaded the PythonScript plugin and was able to set up a shortcut key to use the toggle. Great stuff!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/76130</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/76130</guid><dc:creator><![CDATA[P Cooper]]></dc:creator><pubDate>Mon, 18 Apr 2022 15:48:43 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Mon, 18 Apr 2022 14:12:42 GMT]]></title><description><![CDATA[<p dir="auto">For future readers, <a class="plugin-mentions-user plugin-mentions-a" href="/user/p-cooper" aria-label="Profile: P-Cooper">@<bdi>P-Cooper</bdi></a> briefly posted here (then deleted) a link to an issue that was created to request this: <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11529" rel="nofollow ugc">issue #11529</a></p>
<p dir="auto">I am not sure why that post was deleted.  Because that feature request does exist, and it does describe what was complained about in this post.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/76122</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/76122</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 18 Apr 2022 14:12:42 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Wed, 13 Apr 2022 13:21:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/p-cooper" aria-label="Profile: p-cooper">@<bdi>p-cooper</bdi></a> said in <a href="/post/76000">Feature request: toggle expand/collapse</a>:</p>
<blockquote>
<p dir="auto">Come on, this feature is a no-brainer:<br />
Please, please, please. Pretty please…</p>
</blockquote>
<p dir="auto">As Arkadiusz implied two years ago, for a new request to have a chance of being implemented, someone has to create an issue in the location where Arkadiusz linked.  No one had done that in between 2017 when this topic was started and 2020 when Arkadiusz replied, and no one has done that between 2020 when Arkadiusz provided the link and today.  Oddly enough, if no one cares enough to actually follow <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report">well-documented instructions</a> on how to make a feature request, then the development team isn’t going to have it in their tracker, so they will never implement it.</p>
<p dir="auto">And no number of "please"s in this forum can change the fact that this forum is not the issue tracker, and that as a Community of fellow Notepad++ users, this forum cannot make changes to the Notepad++ codebase.</p>
<blockquote>
<p dir="auto">makes toggling easier and saves on one unnecessary shortcut command…</p>
</blockquote>
<p dir="auto">After you have created the macro described and assigned a shortcut, using a shortcut to run a macro command (or using the macro menu to run the macro command) is <em><strong>no</strong></em> different than using a keyboard shortcut or another menu to run a builtin command – they are equally easy.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/76007</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/76007</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 13 Apr 2022 13:21:10 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Wed, 13 Apr 2022 12:51:38 GMT]]></title><description><![CDATA[<p dir="auto">This is an easy one-line PythonScript solution:</p>
<p dir="auto"><code>editor.toggleFold(editor.lineFromPosition(editor.getCurrentPos()))</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/76003</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/76003</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 13 Apr 2022 12:51:38 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Wed, 13 Apr 2022 12:02:03 GMT]]></title><description><![CDATA[<p dir="auto">Come on, this feature is a no-brainer: makes toggling easier and saves on one unnecessary shortcut command… Please, please, please. Pretty please…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/76000</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/76000</guid><dc:creator><![CDATA[P Cooper]]></dc:creator><pubDate>Wed, 13 Apr 2022 12:02:03 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Thu, 01 Oct 2020 09:47:01 GMT]]></title><description><![CDATA[<p dir="auto">So why no open bug for such posibility (if it doesn’t already exist)?<br />
<a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/issues</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/58089</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58089</guid><dc:creator><![CDATA[ArkadiuszMichalski]]></dc:creator><pubDate>Thu, 01 Oct 2020 09:47:01 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Thu, 01 Oct 2020 08:13:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello <code>October 2020</code> and we still havent got the TOGGLE function that was brilliantly asked for by Joan Aranda in 2017.</p>
<p dir="auto">I want to use  <code>Alt+C</code>  to Collapde/Uncollapse as a toggle function. <code>Would be so nice and easy!</code></p>
<p dir="auto">Please implement this feature it will be small but huge benefit, we NotePad++ users will luv it. <code>Thanks!</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/58086</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58086</guid><dc:creator><![CDATA[Sam Sam]]></dc:creator><pubDate>Thu, 01 Oct 2020 08:13:38 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Mon, 10 Apr 2017 09:24:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi again,</p>
<p dir="auto">Any update on this? Using Alt+n and Ctrl+Alt+F both to fold and unfold looks much more natural to me that having to press also the shift key when I want to unfold. These combinations could work perfectly as toggles, reducing the number of keys to press simultaneously to unfold, and not having to even move your fingers when you quickly expand and collapse again a certain fold level.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/23467</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/23467</guid><dc:creator><![CDATA[Joan Aranda]]></dc:creator><pubDate>Mon, 10 Apr 2017 09:24:30 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Sun, 22 Jan 2017 22:13:36 GMT]]></title><description><![CDATA[<p dir="auto">Mmm… Nice suggestion. Thank you. Anyway, I think that what makes the real difference is to add the capabity to enable the shortcuts currently set only to fold levels also to unfold them. Using them as a toggle, would be great! :D :D :D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21143</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21143</guid><dc:creator><![CDATA[Joan Aranda]]></dc:creator><pubDate>Sun, 22 Jan 2017 22:13:36 GMT</pubDate></item><item><title><![CDATA[Reply to Feature request: toggle expand/collapse on Sun, 22 Jan 2017 13:04:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <strong>Joan</strong>,</p>
<p dir="auto">Indeed, your <strong>toggle</strong> behaviour suggestion, would make <strong>collapsing/uncollapsing</strong> easier ;-))</p>
<p dir="auto">In the meantime, as a <strong>work-around</strong>, you could change, via the <strong>Shortcut Mapper</strong>, the shortcuts, regarding <strong>folding/unfolding</strong> the <strong>current</strong> level :</p>
<ul>
<li>
<p dir="auto"><strong><code>Ctrl + Alt + F</code></strong> would become the <strong><code>Alt + 9</code></strong> shortcut</p>
</li>
<li>
<p dir="auto"><strong><code>Ctrl + Alt + Shift + F</code></strong> would become the <strong><code>Alt + Shift + 9</code></strong> shortcut</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21139</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21139</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 22 Jan 2017 13:04:20 GMT</pubDate></item></channel></rss>