<?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[Custom AutoComplete file for XML language]]></title><description><![CDATA[<p dir="auto">The APIs xml files are very useful for create your custom keywords in any language.</p>
<p dir="auto">The problem I see is with the XML language. I cannot find the way to define which parameters can have an specific tag.</p>
<p dir="auto">Anyone knows if this is possible?</p>
<p dir="auto">Thanks!</p>
<p dir="auto">i.e:<br />
&lt;my_function param1=“” param2=“” /&gt;</p>
<p dir="auto">I expect have something like this in the xml.xml file:</p>
<pre><code>	&lt;KeyWord name="my_function" func="yes"&gt;
       &lt;Overload&gt;
           &lt;Param name="param1" /&gt;
           &lt;Param name="param" /&gt;
       &lt;/Overload&gt;
	&lt;/KeyWord&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/topic/12833/custom-autocomplete-file-for-xml-language</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 16:55:29 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12833.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Dec 2016 14:15:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Sat, 23 Mar 2019 12:03:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">Sorry forthe really late post</p>
<p dir="auto">I follow what you have done but doesn’t work…<br />
N++ doesn’t recognize the fuction and doesn’t show the hints</p>
<p dir="auto">this is the fuction definition</p>
<p dir="auto">&lt;KeyWord name=“TestFuctionWord” func=“yes” /&gt;<br />
&lt;Overload retVal=“int” &gt;<br />
&lt;Param name=“int Input” /&gt;<br />
&lt;/Overload&gt;<br />
&lt;/KeyWord&gt;</p>
<p dir="auto">it recognize enerything else like number, operator, keyword, comment</p>
<p dir="auto">and for Autocompleting the nameFuction?</p>
<p dir="auto">Sorry for the bad english</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41531</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41531</guid><dc:creator><![CDATA[Emanuele Atza]]></dc:creator><pubDate>Sat, 23 Mar 2019 12:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Tue, 10 Jan 2017 00:05:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a> said:</p>
<blockquote>
<p dir="auto">Claudia</p>
</blockquote>
<p dir="auto">Claudia :********************************** S2</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20737</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20737</guid><dc:creator><![CDATA[Cronos Umbra]]></dc:creator><pubDate>Tue, 10 Jan 2017 00:05:26 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 23:26:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cronos-umbra" aria-label="Profile: Cronos-Umbra">@<bdi>Cronos-Umbra</bdi></a></p>
<p dir="auto">Step 1: define the new language<br />
Menu Language-&gt;Define your language…<br />
open tab Keywords Lists<br />
press Styker in 1st group<br />
choose a foreground and background color if needed<br />
put the word “testkeyword” (without quotes) into the textbox of 1st group<br />
press Save As… button<br />
put the name “test” in (without quotes)<br />
check menu Language, you should see the language now</p>
<p dir="auto"><img src="http://i.imgur.com/rgTO5bW.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Step 2: define API file<br />
Open a new file - menu File-&gt;New<br />
Put the following content into the file</p>
<pre><code>&lt;?xml version="1.0" encoding="Windows-1252" ?&gt;
&lt;NotepadPlus&gt;
    &lt;AutoComplete language="test"&gt;
        &lt;Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" /&gt;
        &lt;KeyWord name="testkeyword" func="yes"&gt;
            &lt;Overload retVal="int" &gt;
                &lt;Param name="int i" /&gt;
                &lt;Param name="int j" /&gt;
            &lt;/Overload&gt;
        &lt;/KeyWord&gt;
    &lt;/AutoComplete&gt;
&lt;/NotepadPlus&gt;
</code></pre>
<p dir="auto">save it as C:\Program Files\Notepad++\plugins\APIs\test.xml</p>
<p dir="auto">Step 3: Check Settings-&gt;Preferences-&gt;Atuo-Completion it should look like this</p>
<p dir="auto"><img src="http://i.imgur.com/gZBUFff.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Step 4: use it<br />
open a new file - menu File-&gt;New<br />
check language - menu Language-&gt;test<br />
type the word “testkeyword” (without quotes)<br />
you should see the word in a list, use tab key to complete<br />
press key “(” (without quotes) and you should see the hints</p>
<p dir="auto"><img src="http://i.imgur.com/kGmts1H.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20734</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20734</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 09 Jan 2017 23:26:09 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 21:13:29 GMT]]></title><description><![CDATA[<p dir="auto">Can someone explain to me how to put a file userDefineLang.xml?</p>
<p dir="auto">Someone could tell me step by step, what should I do to make it work?</p>
<p dir="auto">Or send me some files ready, and show me the steps of how it should work?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20732</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20732</guid><dc:creator><![CDATA[Cronos Umbra]]></dc:creator><pubDate>Mon, 09 Jan 2017 21:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 20:03:18 GMT]]></title><description><![CDATA[<p dir="auto">I noticed that does not work, thank you for your help.<br />
I created a fortran.xml and I will test it when I can, modified for my language.</p>
<p dir="auto">Do you know if there is any way to change the colors of keywords that exist in the text to a fortran.xml format for example?</p>
<p dir="auto">If you have some plugin I would like it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20731</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20731</guid><dc:creator><![CDATA[Cronos Umbra]]></dc:creator><pubDate>Mon, 09 Jan 2017 20:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 19:27:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cronos-umbra" aria-label="Profile: Cronos-Umbra">@<bdi>Cronos-Umbra</bdi></a></p>
<p dir="auto">I don’t understand you (Eu não entendo você).<br />
One xml which can be used by any language(Um XML que pode ser utilizado por qualquer linguagem)?<br />
If so, this doesn’t work (Se assim for, isso não funciona).</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20730</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20730</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 09 Jan 2017 19:27:49 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 19:01:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a> said:</p>
<blockquote>
<p dir="auto">O nome xml precisa corresponder ao idioma, caso contrário o npp não pode saber qual xml precisa ser carregado.</p>
</blockquote>
<p dir="auto">I want to create an XML to be able to configure any format.</p>
<p dir="auto">That would be the content.</p>
<p dir="auto"><a href="https://docs.polserver.com/pol099/index.php" rel="nofollow ugc">https://docs.polserver.com/pol099/index.php</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/20728</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20728</guid><dc:creator><![CDATA[Cronos Umbra]]></dc:creator><pubDate>Mon, 09 Jan 2017 19:01:50 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 18:39:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cronos-umbra" aria-label="Profile: Cronos-Umbra">@<bdi>Cronos-Umbra</bdi></a></p>
<p dir="auto">do yu really have a language called <strong>my</strong>?<br />
C:\Program Files (x86)\Notepad++\plugins\APIs\ <strong>my.xml</strong></p>
<p dir="auto">The xml name needs to match the language otherwise npp can’t know which xml needs to be loaded.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20725</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20725</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 09 Jan 2017 18:39:38 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 17:48:33 GMT]]></title><description><![CDATA[<p dir="auto">Did not work.</p>
<p dir="auto">I add a new XML with this content.<br />
C:\Program Files (x86)\Notepad++\plugins\APIs\my.xml</p>
<p dir="auto">The tool does not display in the list of languages.</p>
<p dir="auto">Can someone help me?</p>
<p dir="auto">I’m wanting to stop using noteped ++<br />
Is there a plugin that will help me with autocomplete?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20715</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20715</guid><dc:creator><![CDATA[Cronos Umbra]]></dc:creator><pubDate>Mon, 09 Jan 2017 17:48:33 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 16:44:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cronos-umbra" aria-label="Profile: Cronos-Umbra">@<bdi>Cronos-Umbra</bdi></a><br />
You post looks like it includes some double quotation marks that are not in the ASCII character set. That may be the problem. Try this instead:</p>
<pre><code>&lt;?xml version="1.0" encoding="Windows-1252" ?&gt;
&lt;NotepadPlus&gt;
&lt;AutoComplete language="C++"&gt;
&lt;Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar = "."/&gt;
&lt;KeyWord name="abs" func="yes"&gt;
&lt;Overload retVal="int" descr="Returns absolute value of given integer"&gt;
&lt;Param name="int number" /&gt;
&lt;/Overload&gt;
&lt;/KeyWord&gt;
&lt;/AutoComplete&gt;
&lt;/NotepadPlus&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/20714</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20714</guid><dc:creator><![CDATA[Jim Dailey]]></dc:creator><pubDate>Mon, 09 Jan 2017 16:44:41 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Mon, 09 Jan 2017 14:40:48 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, I do not speak English. I’m having trouble modifying / creating my.xml in the APIs folder. It does not load and does absolutely nothing, even copying the site’s exeplo.</p>
<p dir="auto">Can anyone help me with this, I’m almost giving up using notepad ++, a tutorial on how to make it work …</p>
<p dir="auto"><a href="http://docs.notepad-plus-plus.org/index.php/Auto_Completion" rel="nofollow ugc">http://docs.notepad-plus-plus.org/index.php/Auto_Completion</a></p>
<p dir="auto">C:\Program Files (x86)\Notepad++\plugins\APIs\my.xml</p>
<p dir="auto">&lt;?xml version=“1.0” encoding=“Windows-1252” ?&gt;<br />
&lt;NotepadPlus&gt;<br />
&lt;AutoComplete language=“C++”&gt;<br />
&lt;Environment ignoreCase=“no” startFunc=“(” stopFunc=“)” paramSeparator=“,” terminal=“;” additionalWordChar = “.”/&gt;<br />
&lt;KeyWord name=“abs” func=“yes”&gt;<br />
&lt;Overload retVal=“int” descr=“Returns absolute value of given integer”&gt;<br />
&lt;Param name=“int number” /&gt;<br />
&lt;/Overload&gt;<br />
&lt;/KeyWord&gt;<br />
&lt;/AutoComplete&gt;<br />
&lt;/NotepadPlus&gt;</p>
<p dir="auto">The program does not carry this, it does not indicate, it does not show, absolutely nothing.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20708</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20708</guid><dc:creator><![CDATA[Cronos Umbra]]></dc:creator><pubDate>Mon, 09 Jan 2017 14:40:48 GMT</pubDate></item><item><title><![CDATA[Reply to Custom AutoComplete file for XML language on Thu, 01 Dec 2016 16:18:47 GMT]]></title><description><![CDATA[<p dir="auto">The APIs XML files only describe functions in general terms. There is no ability to force or error check values as you enter text.</p>
<p dir="auto">You can always use the <strong>descr</strong> part of the overload to describe anything about the function you want, for example that Param1 can only have certain values. Here is an example:</p>
<pre><code>&lt;KeyWord name="ARShiftU64" func="yes"&gt;
&lt;Overload retVal="UINT64" descr="
INCLUDE: MdePkg/Include/Library/BaseLib.h

Shifts a 64-bit integer right between 0 and 63 bits. The high bits are filled
with original integer's bit 63. The shifted value is returned.

This function shifts the 64-bit value Operand to the right by Count bits. The
high Count bits are set to bit 63 of Operand.  The shifted value is returned.

RETURNS:
Operand &gt;&gt; Count

PARAMETERS:
Operand - The 64-bit operand to shift right.
Count   - The number of bits to shift right.
"&gt;
&lt;Param name="IN UINT64 Operand" /&gt;
&lt;Param name="IN UINTN Count" /&gt;
&lt;/Overload&gt;
&lt;/KeyWord&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/19615</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19615</guid><dc:creator><![CDATA[Jim Dailey]]></dc:creator><pubDate>Thu, 01 Dec 2016 16:18:47 GMT</pubDate></item></channel></rss>