<?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-indent: an experiment in a plugin]]></title><description><![CDATA[<p dir="auto">The oddities and annoyances of auto-indent have been brought up before:</p>
<ul>
<li><a href="https://community.notepad-plus-plus.org/topic/26390/">Odd (?) caret placement with auto-indent</a></li>
<li><a href="https://community.notepad-plus-plus.org/topic/26709/">Auto-Indent - Basic not always works as expected</a></li>
<li>Issues <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11750" rel="nofollow ugc">#11750</a>, <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15843" rel="nofollow ugc">#15843</a>, <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15845" rel="nofollow ugc">#15845</a>.</li>
</ul>
<p dir="auto">In hopes of making some progress on this, I’ve created a plugin, with the intention that it can serve as a testing ground / proof-of-concept for how auto-indent could be improved:</p>
<p dir="auto"><a href="https://github.com/Coises/ControlledAutoIndent/releases/latest/" rel="nofollow ugc">Controlled Auto-indent</a>  implements a more customizable version of the Auto-indent feature built into Notepad++. I’ve created it to enable some discussion and evaluation of possibly useful extensions to Notepad++ itself, which hopefully will eventually render this plugin obsolete.</p>
<p dir="auto"><strong>Controlled Auto-indent</strong> will do nothing unless you check the <strong>Enable</strong> item on its menu. This assures that you can get it out of the way quickly if it is causing problems or if you want to use only built-in Notepad++ functionality.</p>
<p dir="auto"><em>Before enabling this plugin, please make sure the Notepad++ setting at</em> <strong>Settings</strong> | <strong>Preferences…</strong> | <strong>Indentation</strong> : <strong>Auto-indent</strong> <em>is set to</em> <strong>None</strong>.</p>
<p dir="auto"><strong>Controlled Auto-indent</strong> does not apply indentation to multiple or rectangular selections. This differs from the Auto-indent built into Notepad++, which computes indentation based on the primary selection or the row selected last and applies that to all selections or rows.</p>
<p dir="auto">The <strong>Settings…</strong> dialog offers various options to control automatic indentation. These are explained in the <a href="https://coises.github.io/ControlledAutoIndent/help.htm#settings" rel="nofollow ugc">help file</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26725/auto-indent-an-experiment-in-a-plugin</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 14:28:01 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26725.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Mar 2025 21:38:29 GMT</pubDate><ttl>60</ttl></channel></rss>