Page 2 of 2

Notepad++ Auto-Completion

Posted: Tue Aug 13, 2013 3:59 pm
by Pablo César
Thank you guys, I will keeping on working with syntax... :D

Notepad++ Auto-Completion

Posted: Fri Aug 16, 2013 1:31 am
by Pablo César
I believe I finished the functions files of the Harbour and I have a good news: I was able to do two new styles (not counting whith one I had already postedn new different ones). For this reason I decided to post both ways and I will describe each of It:

1. Style with the parameters included in the return, allowing leverage variables and know the syntax.
xBase functions with parameters including.rar
(9.51 KiB) Downloaded 217 times
2. Style eprofissional much more elaborate, and it returns the function name in "CamelCase", only the syntax displays on the screen and follow the positioning of each parameter to measure which is added, also brief description of each function.

a. Please note that as you type the function name (in this case the first 3 characters), it will open a ComboBox with pre-existing functions, showing only the name (without parameters)
Screen.PNG (21.17 KiB) Viewed 1481 times
b. And when typing the parenthesis [ the character "(" ] will then show the syntax and parameters with brief description.
Screen1.PNG (32.37 KiB) Viewed 1481 times
c. There functions over which a syntax is displayed differently. See pictures below.
Screen3.PNG (21.71 KiB) Viewed 1481 times
To see both syntax, click the arrow button (circled in red color)
Screen4.PNG (21.56 KiB) Viewed 1481 times
xBase functions displaying syntax.rar
(22.48 KiB) Downloaded 236 times
The auto-completion (file "xBase functions displaying syntax.rar") is only for "functions" so it was not possible to add Harbour commands. Because Notepad++ can enable the syntax thru user typing a " ( " at start and a " ) " at end which features a function with parenthesis.

Installation Instructions:
                                    Choose one of the two rar files attached and unpack it to where NOtepad++ is installed. By default is at %APPDATA%\notepad++\plugins\APIs folder. Where is %APPDATA% please considere as "Program Files" (in English) where Notepad++ appoint to be installed at first installation by default but most of us we have at sub-folder where HMG is installed. Example: C:\hmg.3.1.5\Notepad++\plugins.
If there are syntax errors or any errors you notice, please indicate the type and function of the rar file in this topic, so it can be corrected and improved by everyone.
I'm sure you will like it, because it will be of great assistance in the preparation of your source code. :D

Re: Notepad++ Auto-Completion

Posted: Fri Aug 16, 2013 2:54 am
by Rathinagiri
That looks so nice Pablo. I will check. it.

Notepad++ Auto-Completion

Posted: Sat Aug 17, 2013 1:48 am
by Pablo César
If you failed to do, let me know.

In Win7 there probably you will use in following path:


Well I know is all these tests have been done under Notepad++ version 6.4.5, probably lower version is with some bugs as in Notepad forum have been reported.

Remarks: At dot prompt type:

echo %APPDATA%

just to know where as sub-folder Notepad++ is.

Re: Notepad++ Auto-Completion

Posted: Tue Aug 21, 2018 11:21 am
by AidTIC
Muchas gracias, Gran aporte.

Thank you very much, Great contribution.

Re: Notepad++ Auto-Completion

Posted: Thu Aug 23, 2018 3:26 am
by Steed
Thanks a lot

Re: Notepad++ Auto-Completion

Posted: Fri Aug 24, 2018 12:35 am
by Steed
after some trys

I discover that the AutoCompletatión Funcion is Case Sensitive, so for example if you tupe "sub": nothing appers, but, if you type SubS the appers the information