<?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[How to enable auto-complete for Fortran]]></title><description><![CDATA[<p dir="auto">I am trying to get auto-complete working for Fortran. For my files I have selected language ‘Fortran (free form)’ and assume I  simply create an XML file in plugins\APIs but don’t know what it’s name should be. I have tried ‘Fortran (free form).xml’  with tag ‘&lt;AutoComplete language=“Fortran (free form)”&gt;’ in it but it does not work.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15358/how-to-enable-auto-complete-for-fortran</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 01:49:06 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15358.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Mar 2018 08:23:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to enable auto-complete for Fortran on Fri, 02 Mar 2018 18:58:00 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Guy. Now working. But did not appear to work on a Fortran file that was already open but worked when I closed the file and reopened it!?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/30696</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/30696</guid><dc:creator><![CDATA[Sam Ellis]]></dc:creator><pubDate>Fri, 02 Mar 2018 18:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to How to enable auto-complete for Fortran on Fri, 02 Mar 2018 11:59:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/11395">@sam-ellis</a>, and <strong>All</strong>,</p>
<ul>
<li>
<p dir="auto">First of all, it’s necessary to determine the <strong>right</strong> localization of <strong>your</strong> active <strong>\plugins\APIs</strong> folder. Depending on your <strong>initial</strong> N++ installation ( with the <strong>installer</strong> OR from a <strong>ZIP</strong> or <strong>7Z</strong> archive ), the active <strong>configuration</strong> files should be found :</p>
<ul>
<li>
<p dir="auto">In the <strong><code>same</code></strong> folder as <strong><code>Notepad++ .exe</code></strong>, as well as the <strong>zero-length</strong> file <strong><code>doLocalConf.xml</code></strong>, in case of a <strong>local</strong> installation of N++</p>
</li>
<li>
<p dir="auto">And, in case of an <strong>usual</strong> installation of N++, with the <strong>installer</strong> :</p>
<ul>
<li>
<p dir="auto">In the folder <strong><code>%AppData%\Roaming\Notepad++</code></strong>, for a <strong>W7</strong>, <strong>W8</strong> or <strong>W10</strong> configuration</p>
</li>
<li>
<p dir="auto">In the folder <strong><code>%AppData%\Notepad++</code></strong>, for a <strong>XP</strong> or <strong>Vista</strong> configuration</p>
</li>
</ul>
</li>
</ul>
</li>
<li>
<p dir="auto">Secondly, as you would like to use the <strong>Fortran (free form)</strong> language, just create a <strong><code>fortran.xml</code></strong> file, in the <strong>…\plugins\APIs</strong> folder</p>
</li>
<li>
<p dir="auto">Finally, <strong>insert</strong> all your KeyWords in the <strong>fortran.xml</strong> file</p>
</li>
<li>
<p dir="auto">Stop and restart N++</p>
</li>
<li>
<p dir="auto">Open a <strong>new</strong> tab  ( <strong><code>Ctrl + N</code></strong> )</p>
</li>
<li>
<p dir="auto">Select the option <strong>Language &gt; F &gt; Fortran (free form)</strong></p>
</li>
</ul>
<p dir="auto">That’s it !</p>
<p dir="auto">As for me, I did a test with the <strong><code>fortran.xml</code></strong> file, below :</p>
<pre><code class="language-xml">&lt;?xml version="1.0" encoding="Windows-1252" ?&gt;
&lt;NotepadPlus&gt;
	&lt;AutoComplete&gt;
		&lt;Environment ignoreCase="no" /&gt;
		&lt;KeyWord name="ABSOLUTE" /&gt;
		&lt;KeyWord name="Blah_bla" /&gt;
		&lt;KeyWord name="FOR" /&gt;
		&lt;KeyWord name="Guy" /&gt;
		&lt;KeyWord name="PAPA" /&gt;
		&lt;KeyWord name="border" /&gt;
		&lt;KeyWord name="func" /&gt;
		&lt;KeyWord name="tesT" /&gt;
	&lt;/AutoComplete&gt;
&lt;/NotepadPlus&gt;
</code></pre>
<p dir="auto">It works, <strong>without</strong> any problem :-))</p>
<hr />
<p dir="auto"><strong>Remarks</strong> :</p>
<ul>
<li>Note that, if your <strong>KeyWords</strong> are all <strong>lowercase</strong>, the line, below, shouldn’t be necessary</li>
</ul>
<pre><code class="language-xml">		&lt;Environment ignoreCase="no" /&gt;
</code></pre>
<ul>
<li>Besides, the <strong>complete</strong> syntax of this tag is, for instance :</li>
</ul>
<pre><code class="language-xml">		&lt;Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:$#"/&gt;
</code></pre>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto">For people who prefers the <strong>Fortran (fixed form)</strong> language, the name of the APIs <strong>.xml</strong> file, must be <strong><code>fortran77.xml</code></strong> !</p>
]]></description><link>https://community.notepad-plus-plus.org/post/30692</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/30692</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 02 Mar 2018 11:59:44 GMT</pubDate></item></channel></rss>