Notepad++ Auto-Completion

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

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Notepad++ Auto-Completion

Post by Pablo César » Tue Aug 13, 2013 3:59 pm

Thank you guys, I will keeping on working with syntax... :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Fri Aug 16, 2013 1:31 am

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.
Image
xBase functions with parameters including.rar
(9.51 KiB) Downloaded 214 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
Screen.PNG (21.17 KiB) Viewed 1446 times
b. And when typing the parenthesis [ the character "(" ] will then show the syntax and parameters with brief description.
Screen1.PNG
Screen1.PNG (32.37 KiB) Viewed 1446 times
c. There functions over which a syntax is displayed differently. See pictures below.
Screen3.PNG
Screen3.PNG (21.71 KiB) Viewed 1446 times
To see both syntax, click the arrow button (circled in red color)
Screen4.PNG
Screen4.PNG (21.56 KiB) Viewed 1446 times
xBase functions displaying syntax.rar
(22.48 KiB) Downloaded 235 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
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Rathinagiri
Posts: 5240
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 162 times
Been thanked: 159 times
Contact:

Post by Rathinagiri » Fri Aug 16, 2013 2:54 am

That looks so nice Pablo. I will check. it.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Sat Aug 17, 2013 1:48 am

If you failed to do, let me know.

In Win7 there probably you will use in following path:

<user>\AppData\Roaming\Notepad++

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.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

AidTIC
Posts: 72
Joined: Mon Apr 22, 2013 8:29 am
Been thanked: 2 times

Post by AidTIC » Tue Aug 21, 2018 11:21 am

Muchas gracias, Gran aporte.

Thank you very much, Great contribution.

User avatar
Steed
Posts: 351
Joined: Sat Dec 12, 2009 3:40 pm
Has thanked: 1 time
Been thanked: 2 times

Post by Steed » Thu Aug 23, 2018 3:26 am

Thanks a lot

User avatar
Steed
Posts: 351
Joined: Sat Dec 12, 2009 3:40 pm
Has thanked: 1 time
Been thanked: 2 times

Post by Steed » Fri Aug 24, 2018 12:35 am

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

Post Reply