<?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] Undo for Auto-Insert: tags and parentheses]]></title><description><![CDATA[<p dir="auto">Noob here. Not sure if this is the best place for this…</p>
<p dir="auto">Very simple. I think it would be a great tweak to have Ctrl-Z remove the auto-completed tag/parenthesis.</p>
<p dir="auto">When writing fresh code, I love it. When updating existing code (such as inserting a &lt;strong&gt; in a &lt;p&gt;), it’s entirely annoying.</p>
<p dir="auto">I could turn it off, but ain’t nobody got time for that.</p>
<p dir="auto">On the other hand, has anyone found a convenient way to deal?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18593/feature-request-undo-for-auto-insert-tags-and-parentheses</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 13:54:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18593.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Dec 2019 17:57:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Sun, 08 Dec 2019 22:51:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/49023">[Feature Request] Undo for Auto-Insert: tags and parentheses</a>:</p>
<blockquote>
<p dir="auto">Is this any textual change?  Or is it truly any change?</p>
</blockquote>
<p dir="auto">In the context of any change Notepad++ did that the user did not specifically do themselves. I wont say this is a hard rule though.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49031</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49031</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Sun, 08 Dec 2019 22:51:08 GMT</pubDate></item><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Sun, 08 Dec 2019 17:45:45 GMT]]></title><description><![CDATA[<p dir="auto">I said that:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a> said…“any change”</p>
</blockquote>
<p dir="auto">Actually, <a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a> didn’t say <em>any change</em>; <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said that.<br />
But <a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a> said <em>I completely agree</em>, so it’s almost the same thing?<br />
I just don’t want to get anyone in an uproar about being misquoted.  ;-)<br />
Their are some wordsmiths around, I’m sure.  They’re everywhere.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49025</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49025</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 08 Dec 2019 17:45:45 GMT</pubDate></item><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Sun, 08 Dec 2019 13:55:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a> said in <a href="/post/49022">[Feature Request] Undo for Auto-Insert: tags and parentheses</a>:</p>
<blockquote>
<p dir="auto">any change</p>
</blockquote>
<p dir="auto">I’m confused about the scope of “any change”.  Is this any <em>textual change</em>?  Or is it truly <em>any</em> change?  Say for example one runs a marking operation – should that be undoable/redoable as well?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49023</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49023</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 08 Dec 2019 13:55:54 GMT</pubDate></item><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Sun, 08 Dec 2019 13:35:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said in <a href="/post/49001">[Feature Request] Undo for Auto-Insert: tags and parentheses</a>:</p>
<blockquote>
<p dir="auto">So, it seems logic that any change, introduced by Notepad++ itself, should be undone with a Ctrl + Z action ;-))</p>
</blockquote>
<p dir="auto">I completely agree. I believe at one time I opened an issue (maybe even a PR as well) but Don rejected it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49022</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49022</guid><dc:creator><![CDATA[dail]]></dc:creator><pubDate>Sun, 08 Dec 2019 13:35:58 GMT</pubDate></item><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Sat, 07 Dec 2019 00:10:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/jonah-clarence" aria-label="Profile: jonah-clarence">@<bdi>jonah-clarence</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: michael-vincent">@<bdi>michael-vincent</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">I think that the <a class="plugin-mentions-user plugin-mentions-a" href="/user/jonah-clarence" aria-label="Profile: jonah-clarence">@<bdi>jonah-clarence</bdi></a>’s regquest is rather <strong>pertinent</strong> !</p>
<p dir="auto">For instance, in my <strong>old</strong> Microsoft <strong>Word</strong>, version <strong><code>2002</code></strong>, it is <strong>already</strong> the case, in <strong>various</strong> sistuations :</p>
<ul>
<li>
<p dir="auto">Normally if I begin a sentence with a <strong>lower</strong> letter, <strong>Word</strong> replaces it, with  its <strong>upper</strong> form, as soon as the first <strong>space</strong> is written.  But, using the <strong><code>Ctrl + Z</code></strong> shortcut, it <strong>restores</strong> the <strong>lower</strong> initial letter typed in</p>
</li>
<li>
<p dir="auto">If I type in the <strong>three</strong> chars <strong><code>(c)</code></strong>, <strong>Word</strong> replaces it with the <strong><code> ©</code></strong> symbol, as soon as the <strong>ending</strong> parenthese is written. But, using <strong><code>Ctrl + Z</code></strong>,  it does <strong>restore</strong> it as the string <strong><code>(c)</code></strong></p>
</li>
<li>
<p dir="auto">If I type the simple <strong><code>"</code></strong> English <strong>double-quote</strong>, to indicate the beginning of a <strong>speech</strong>, <strong>Word</strong>, automatically, replaces it with the opening <strong>French</strong> quote or <strong>chevron</strong> <strong><code>«</code></strong>. But, after using <strong><code>Ctrl + Z</code></strong>, it does <strong>restore</strong> the original <strong><code>"</code></strong> <strong>English</strong> double-quote symbol</p>
</li>
</ul>
<p dir="auto">And so on…</p>
<p dir="auto">So, it seems <strong>logic</strong> that any change, introduced by Notepad++ <strong>itself</strong>, should be <strong>undone</strong> with a <strong><code>Ctrl + Z</code></strong> action ;-))</p>
<p dir="auto">Best regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49001</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49001</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 07 Dec 2019 00:10:15 GMT</pubDate></item><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Fri, 06 Dec 2019 19:55:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonah-clarence" aria-label="Profile: Jonah-Clarence">@<bdi>Jonah-Clarence</bdi></a> said in <a href="/post/48993">[Feature Request] Undo for Auto-Insert: tags and parentheses</a>:</p>
<blockquote>
<p dir="auto">Notepad++ has a small footprint. Also, I code various other languages, so it’s great to have a consistent experience for all notepad purposes, including simple notes, csv sanitizing, monospace formatting, regex everything. But I digress.</p>
</blockquote>
<p dir="auto">EXACTLY!!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48994</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48994</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Fri, 06 Dec 2019 19:55:15 GMT</pubDate></item><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Fri, 06 Dec 2019 19:47:01 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> Yeah, parentheses are simple. Suppose I could have not mentioned it. Typically, I’m coding both existing &amp; fresh lines simultaneously.</p>
<p dir="auto">Forums are typically a bit informal. Definitely would keep it brief and technical on GitHub. Maybe it’s better to discuss, before impulsively opening a request.</p>
<p dir="auto"><em>I have these kind of ideas all the time, which come and go, so creating a profile here took a stronger impulse. Mostly because I’ve been using Notepad++ both at home and work literally every day. There are other respectable web dev IDEs, but Notepad++ has a small footprint. Also, I code various other languages, so it’s great to have a consistent experience for all notepad purposes, including simple notes, csv sanitizing, monospace formatting, regex everything. But I digress.</em></p>
<p dir="auto">I have a few clunky tricks, but they are varied, <em>relatively</em> difficult, and a minor distraction to make the choice, depending on the situation.</p>
<ul>
<li>If it’s EOL, a simple Shift+Ctrl+Del will truncate the line.</li>
<li>Mid-line, Shift+Ctrl+[left/right arrow] often lands you where you want slightly faster than Shift+arrow alone, while you can release Ctrl to fine tune – then Del.</li>
<li>Reach for the mouse, highlight, then drag the tag where you want it</li>
</ul>
<p dir="auto">I think it’s very intuitive and would be widely applicable that Ctrl+Z reverses the last action, which in this case is not the user action, but that of Notepad++. There’s an autocorrect/complete type thing or somesuch in a software (I can’t recall) that works in this way. The “traditionally” expected reversal of the last character or even the opening &lt;tag&gt; seems much less useful, if not entirely unnecessary.</p>
<p dir="auto">Like I said, it’s a miniscule and simple (as an idea, not necessarily to code) improvement… but every second counts towards a smooth workflow experience. This one’s been bothering me for a while.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48993</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48993</guid><dc:creator><![CDATA[Jonah Clarence]]></dc:creator><pubDate>Fri, 06 Dec 2019 19:47:01 GMT</pubDate></item><item><title><![CDATA[Reply to [Feature Request] Undo for Auto-Insert: tags and parentheses on Fri, 06 Dec 2019 18:37:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonah-clarence" aria-label="Profile: Jonah-Clarence">@<bdi>Jonah-Clarence</bdi></a> said in <a href="/post/48991">[Feature Request] Undo for Auto-Insert: tags and parentheses</a>:</p>
<blockquote>
<p dir="auto">to have Ctrl-Z remove the auto-completed tag/parenthesis.</p>
</blockquote>
<p dir="auto">There is already a keyboard mapped to the exact function you want.  It’s the <code>DEL</code> delete key.  When you type <code>function(</code> and it autocompetes to <code>function()</code>, your cursor is between the <code>(</code> and the <code>)</code>; the <code>DEL</code> key will remove the closing parenthesis.  With tags, it will take a few more hits of the key, but it still works.</p>
<p dir="auto">The best advice is to change the setting when you switch from creating fresh code to updating existing code.  Unfortunately, I don’t know of a way with macros or scripting plugins to automate changing that preference, so there’s no “easy way” to change.</p>
<p dir="auto">However, some of the scripting plugins will give you access to lanugages that can do some pretty cool stuff with the Win32 API.  PythonScript might be able to automate the process of launching the dialog and clicking on the selections for you… but that’s a more advanced PythonScript than I currently have time to develop for free.</p>
<p dir="auto">If you want to make a feature request, you can follow <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report">this FAQ</a>  – but understand that it might not be accepted, or might just not become a priority feature to implement, even if you ask for it.</p>
<p dir="auto">If you do make a feature request, I would suggest that “but ain’t nobody got time for that” won’t endear anyone to you, and that a more professional phrasing might increase the chances that your request will be considered.  For example, I might phrase it as, “I would like a command that could be bound to a shortcut that would undo the most recent auto-complete.  Or, if it’s more convenient, it would at least be more efficient for me if I were able to assign a keyboard shortcut to be able to toggle the Auto-complete <strong>auto-insert xml/html close tag</strong> setting, so I could avoid navigating through all those menus and dialogs to change that setting”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48992</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48992</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 06 Dec 2019 18:37:30 GMT</pubDate></item></channel></rss>