Notepad++ Function List

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Notepad++ Function List

Post by tonton2 »

mol wrote:I cant'get list of functions. What's going on? (I have newest version of NPP)
+1
that my funcionlist.xml of Notepad++ 6.6.9 tranformed in functionlist.txt in file .rar
Attachments
functionlist.rar
(2.51 KiB) Downloaded 586 times
L'Algerie vous salut
Y.TABET
Tiger
Posts: 70
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Notepad++ Function List

Post by Tiger »

For anyone who still have this issue, please edit the file functionList.xml as below

<!--
if langID cannot be found above, you can still set the file extensions
<association ext=".my_passer_ext1" id="my_passer_id"/>
<association ext=".my_passer_ext2" id="my_passer_id"/>

for User Defined Languages:
<association userDefinedLangName="my user defined language" id="my_udl_passer_id"/>
<association userDefinedLangName="Autocad" id="my_autocad_passer_id"/>
-->
==> Add this line
<association userDefinedLangName="xBase" ext=".prg" id="xBase"/>

</associationMap>
<parsers>

==> and Add following lines

<parser id="xBase" displayName="Harbour" commentExpr="">
<function
mainExpr="^[\t ]*(!Func|Function|Proc|Procedure)[\t ]+[^\r\n]*$"
displayMode="$functionName">
<functionName>
<nameExpr expr="(?(?=[\t ]*)[\t ]*[\t ]+[^\s]+|[^\r\n]*)"/>
</functionName>
</function>
</parser>
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Notepad++ Function List

Post by tonton2 »

Hello bonsoit tout le monde

Code: Select all

for User Defined Languages:
	<association userDefinedLangName="my user defined language" id="my_udl_passer_id"/>
	<association userDefinedLangName="Autocad" id="my_autocad_passer_id"/>
	-->
 ==> Add this line 
 <association userDefinedLangName="xBase" ext=".prg" id="xBase"/>

	</associationMap>
	<parsers>

 ==> and Add following lines

	<parser id="xBase" displayName="Harbour" commentExpr="">
 <function
 mainExpr="^[\t ]*(!Func|Function|Proc|Procedure)[\t ]+[^\r\n]*$"
 displayMode="$functionName">
 <functionName>
 <nameExpr expr="(?(?=[\t ]*)[\t ]*[\t ]+[^\s]+|[^\r\n]*)"/>
 </functionName>
 </function>
 </parser>
la fonction 'FUNCTIONLIST' n'est pas reconnu au niveau de NOTPAD++ 6.9.1.0
Function 'FUNCTIONLIST dos not work in the notpad++ ver 6.9.1.0
Attachments
Sans titre.jpg
Sans titre.jpg (67.57 KiB) Viewed 6669 times
L'Algerie vous salut
Y.TABET
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Notepad++ Function List

Post by danielmaximiliano »

*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Tiger
Posts: 70
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Notepad++ Function List

Post by Tiger »

==> Please modify this line
<association userDefinedLangName="xBase" ext=".prg" id="xBase"/>
to
<association userDefinedLangName="Harbour" ext=".prg" id="xBase"/>

I also attached a rar file for your referance.
function_list.jpg
function_list.jpg (93.26 KiB) Viewed 6631 times
Attachments
functionList.rar
(8.36 KiB) Downloaded 361 times
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Notepad++ Function List

Post by tonton2 »

Merci beaucoup mon ami, mais ca ne marche pas avec la nouvelle version mais fonctionne très bien avec les anciennes
ci joint la nouvelle

Thank you very much my friend, but it does not work with the new version but works fine with older
Attached is the new version.
I use Windows 10 64 bit
Attachments
npp.6.9.2.Installer.rar
(3.85 MiB) Downloaded 385 times
L'Algerie vous salut
Y.TABET
User avatar
TopsMarc
Posts: 80
Joined: Wed Apr 06, 2016 5:57 am
Location: Belgium (Flanders)

Re: Notepad++ Function List

Post by TopsMarc »

Hi,

I can't get it right. My function list is always empty. I tried with NotePad++ 6.9.2 Portable on Windows 10 Home.What am I doing wrong ?
Included my function list and language file. My language is "HMG".

Kind regards, Marc
Attachments
functionList.zip
(2.91 KiB) Downloaded 346 times
Language.zip
(4.6 KiB) Downloaded 352 times
IMG_1.png
IMG_1.png (11.4 KiB) Viewed 6589 times
User avatar
Steed
Posts: 427
Joined: Sat Dec 12, 2009 3:40 pm

Re: Notepad++ Function List

Post by Steed »

Hi,

Try to replace files in

%appdata%\Notepad++

and not in C:\Notepad++

Regards,

ES
Tiger
Posts: 70
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Notepad++ Function List

Post by Tiger »

If you can get this function work on old version such as the 6.8xx, you can download the new version 6.9.2 with "zip" file and then unpack to a temporary folder. You can then copy all the files except the "functionList.xml" and paste them back to the folder of NOTEPAD++. I am using the new version 6.9.2 and I use this way to upgrade the NOTEPAD++ every time.
Post Reply