<?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 Complete - List only specified keywords?]]></title><description><![CDATA[<p dir="auto">Is it possible to list only specified keywords with Auto Complete, and ignore the “document words”?.  Currently, in order to be able to list the non-function keywords, I have to enable “words and functions” for auto complete.</p>
<p dir="auto">The issue in my case, is that the “document words” are included in this and I am trying to omit those.</p>
<p dir="auto">Just wondering if it is currently possible, or possibly a planned development already?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23754/auto-complete-list-only-specified-keywords</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 03:43:13 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23754.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Nov 2022 17:52:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto Complete - List only specified keywords? on Fri, 18 Nov 2022 15:20:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lycan-thrope" aria-label="Profile: Lycan-Thrope">@<bdi>Lycan-Thrope</bdi></a></p>
<p dir="auto">Ah hah.  Thanks for that tip.  I’m fairly sure that I don’t have the proper order then.  I’ll have to take a closer look at that.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81727</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81727</guid><dc:creator><![CDATA[Jeb Dude]]></dc:creator><pubDate>Fri, 18 Nov 2022 15:20:28 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Complete - List only specified keywords? on Thu, 17 Nov 2022 21:05:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeb-dude" aria-label="Profile: Jeb-Dude">@<bdi>Jeb-Dude</bdi></a> ,<br />
One thing I ran into, is if words had underscores, instead of the hex equivalent of a space in the file, they needed to be sorted lexicographically, and in my case, the list didn’t run at all, especially with <code>ignoreCase = no</code> set in the autoCompletion file. I’m not sure if that remains the same now, as <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> had shown an ability to use camelHumped keywords and upper or lower case letters to retrieve the proper word capped or not recently that I couldn’t do almost a year ago or so in older versions when I made my list up, which I did for keywords in both capitals and lowercase, so the programmer could use either. Also, I used hex codes for special characters that didn’t show up normally and had to sort those in the proper order as part of the list as well.</p>
<p dir="auto">For instance, when sorting lexicographically, I had to list the special characters with the capital letters first and then the lower case letters with that same special characters first in the list, and then do the non-special characters under that in Caps first and then lowercase equivalents under that group. Here is a pic of the order I had to do where the Upper special character ends and the Lower special charater starts:<br />
<img src="/assets/uploads/files/1668718579747-udlsortspecialcharacters.png" alt="UDLSortSpecialCharacters.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">As you can see by that pic, the space character had to be repalced by <code>&amp;#xa0;</code> so the space between words would show, since a simple spacebar could’t be represented. At first I toyed with using the <code>_</code> but then that was being inserted into the file and the programmer would have to remove it…which was more trouble than it was worth, until I found this solution reading the docs and asking questions here. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81683</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81683</guid><dc:creator><![CDATA[Lycan Thrope]]></dc:creator><pubDate>Thu, 17 Nov 2022 21:05:57 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Complete - List only specified keywords? on Thu, 17 Nov 2022 18:20:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lycan-thrope" aria-label="Profile: Lycan-Thrope">@<bdi>Lycan-Thrope</bdi></a></p>
<p dir="auto">Thanks for the explanation.  I’ll try to make a small scale UDL and illustrate the problem more clearly.  Hopefully that will result in my error, or a bug.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81673</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81673</guid><dc:creator><![CDATA[Jeb Dude]]></dc:creator><pubDate>Thu, 17 Nov 2022 18:20:42 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Complete - List only specified keywords? on Wed, 16 Nov 2022 20:14:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeb-dude" aria-label="Profile: Jeb-Dude">@<bdi>Jeb-Dude</bdi></a> ,</p>
<p dir="auto">All I know, is when I asked this same question about how to stop getting all the words of the document included, that’s how it was explained to me. Function completion is the autoCompletion file, words is everything you typed in that document, and both includes both. I was trying to eliminate the words of the document, not the keywords, and that is the setting I was advised to use for that reason.  Unless there is something wrong in the list, the keywords should be coming up just like the functions. I will say that occasionally, NPP acts a little weird with the UDL stuff. For instance, while trying this out on a portable version to verify the keywords coming up with the functions, my UDL wasn’t responding. I don’t know if it’s because I have a lot of other stuff open, my computer…etc, but it wasn’t coming up until about the 3rd time I’d open the document and started typing that it started to work…so if everything is working right, that’s the way it’s supposed to work.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81585</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81585</guid><dc:creator><![CDATA[Lycan Thrope]]></dc:creator><pubDate>Wed, 16 Nov 2022 20:14:21 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Complete - List only specified keywords? on Wed, 16 Nov 2022 19:54:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lycan-thrope" aria-label="Profile: Lycan-Thrope">@<bdi>Lycan-Thrope</bdi></a></p>
<p dir="auto">I had tried this.  And only the items marked as <code>func="yes"</code> show up in this case.</p>
<p dir="auto">I’ve done several variations of this, and restarted NPP every time.</p>
<p dir="auto">One thing I have noticed here is that when a keyword/function contains an underscore, that seems to be causing an issue currently, unless “words” are also enabled along with functions.</p>
<p dir="auto">Hope that makes sense.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81581</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81581</guid><dc:creator><![CDATA[Jeb Dude]]></dc:creator><pubDate>Wed, 16 Nov 2022 19:54:56 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Complete - List only specified keywords? on Wed, 16 Nov 2022 19:34:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeb-dude" aria-label="Profile: Jeb-Dude">@<bdi>Jeb-Dude</bdi></a> ,<br />
You’ll need to select <code>Function completion</code> only in the Preferences dialog as shown in this screenshot:<br />
<img src="/assets/uploads/files/1668627068992-autocompletefunctionsonly.png" alt="AutocompleteFunctionsOnly.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">In your autoCompletion file, if this is a UDL, or even the stock language, all the Keywords and Functions should be in the same file that is used to search, so setting the <code>Function completion</code> would only use that file. If you are actively creating functions as you code, then that won’t be available only…I believe.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81571</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81571</guid><dc:creator><![CDATA[Lycan Thrope]]></dc:creator><pubDate>Wed, 16 Nov 2022 19:34:34 GMT</pubDate></item></channel></rss>