<?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[Auto-insert doesn&#x27;t work with adjacent characters]]></title><description><![CDATA[<p dir="auto">What’s the point of auto-insert functionality if it doesn’t work when trying to auto-insert a character when the cursor is adjacent to a character. Typing a <em>quote</em> or a <em>double quote</em> after an <em>equals</em> sign (or <strong>any</strong> other character)  doesn’t work.</p>
<p dir="auto">I want this:</p>
<pre><code>&lt;tag attr=""
</code></pre>
<p dir="auto">I get this:</p>
<pre><code>&lt;tag attr="
</code></pre>
<p dir="auto">If there is a space after the <em>equals</em> sign the auto-insert works:</p>
<pre><code>&lt;tag attr= ""
</code></pre>
<p dir="auto">Auto-insert only works when the cursor is <strong>not</strong> next to any character. It doesn’t work with quotes and double quotes but works with all types of brackets. Is this a bug?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20332/auto-insert-doesn-t-work-with-adjacent-characters</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 05:23:59 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20332.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Nov 2020 11:17:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto-insert doesn&#x27;t work with adjacent characters on Wed, 18 Nov 2020 15:41:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a>, yes true about my phraseology. It wasn’t intentional. I noticed it might have come out as aggressive but forgot to change it after rereading the whole post.</p>
<p dir="auto">Thanks for the information. I’ll check <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report">FAQ Desk: Feature Request or Bug Report</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59832</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59832</guid><dc:creator><![CDATA[Pegart]]></dc:creator><pubDate>Wed, 18 Nov 2020 15:41:30 GMT</pubDate></item><item><title><![CDATA[Reply to Auto-insert doesn&#x27;t work with adjacent characters on Wed, 18 Nov 2020 14:03:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/20409">@Pegart</a> said in <a href="/post/59811">Auto-insert doesn't work with adjacent characters</a>:</p>
<blockquote>
<p dir="auto">(or any other character) doesn’t work<br />
…<br />
Auto-insert only works when the cursor is not next to any character.</p>
</blockquote>
<p dir="auto">Not quite.  You are correct that <code>"</code> doesn’t auto-complete when next to an <code>=</code>, or alphanumeric, or many punctuation characters.  But it <em>does</em> autocomplete when inside parenthesis or brackets: if I start typing <code>function("</code>, the text I get is <code>function("")</code> – similarly for <code>[</code> and <code>{</code>.</p>
<blockquote>
<p dir="auto">What’s the point</p>
</blockquote>
<p dir="auto">The point is that it works in many other situations without difficulty.  Not every programming language out there puts quotes directly next to equal signs or other characters.</p>
<blockquote>
<p dir="auto">Is this a bug?</p>
</blockquote>
<p dir="auto">Bug, oversight, or difference of opinion as to how it should be implemented.</p>
<p dir="auto">Since others agree that it does have that issue, I suggest you follow <a href="https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report">FAQ Desk: Feature Request or Bug Report</a> to make an official request for improving the quote-character auto-complete.  However, I highly recommend you stay away from charged phrases like “what’s the point”, which immediately put the reader on the defensive, and make them much less likely to prioritize your request.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/59823</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/59823</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 18 Nov 2020 14:03:09 GMT</pubDate></item></channel></rss>