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

Notepad++ Auto-Completion

Post by Pablo César »

Probably most of you know that some good editors has a ressource of auto-completion during edit. In Notepad++ you need to install it and to enable it. Here is step by step:

1. To see if CCompletion is installed. Go to Tab "Installed" of "Show Plugin Manager", if not go to Tab "Available" of "Show Plugin Manager".
Screen.PNG
Screen.PNG (29.01 KiB) Viewed 6255 times
2. To install CCompletion click in check box and run install button.
3. Enable CCompletion in Settings/Preferences as show image below:
Screen3.PNG
Screen3.PNG (25.53 KiB) Viewed 6255 times
Close it and restart Notepad++
4. To use it, just write first character and will be displayed like this:
Screen1.PNG
Screen1.PNG (39.23 KiB) Viewed 6255 times
Confirm by slecting and Enter.

That's all ! Enjoy it ! :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Notepad++ Auto-Completion

Post by Rathinagiri »

Thanks a lot Pablo. I will try.
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

Notepad++ Auto-Completion

Post by Pablo César »

You can also access Auto-completion by pressing Ctrl+SpaceBar (at any time during your edition).
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

Notepad++ Auto-Completion

Post by Pablo César »

In the configuration for auto-completion, there is an option for "Function Completion":

Image

But for this working, you will need to unpack xBase.rar (here attached file) and put in
C:\Arquivos de programas\Notepad++\plugins\APIs folder.
Attachments
xBase.rar
Simple version (Without parameters and without syntax)
(1.02 KiB) Downloaded 415 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Notepad++ Auto-Completion

Post by Rathinagiri »

Thank you Pablo.

If everything goes well, we can include these features default in our next release.
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

Notepad++ Auto-Completion

Post by Pablo César »

Let us know if is working for you. I will work on in this xBase file to update and I will try to put the sintax of each item

at the step as I could update with a new version I also will change the file comment version for downloading, by this means always will be the latest version of the file. ;)
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

Notepad++ Auto-Completion

Post by Pablo César »

=== VERY IMPORTANT ===

I just started to re-edit xBase file for "Function completion" and I could not show function sintax without the function name. So I do not know if all of you prefer with or with sintax, see image below:
Screen.PNG
Screen.PNG (18.73 KiB) Viewed 6095 times
The main problem when is opted with function sintax that is that is bringing it all together for souce editor.

Without function sintax only function name is bringing.
Screen1.PNG
Screen1.PNG (16.17 KiB) Viewed 6095 times
I will need your prompt responses soon as posible, because I am in doubt what is better for all of us.
(with sintax or without it)

In my opinion, I prefer with sintax, because with it we can making use of the variable names (in standard format) into source editor. ;)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Notepad++ Auto-Completion

Post by Rathinagiri »

I get the auto completion working in my system.

It will be helpful if we have the function name along with the syntax.

Thanks Pablo for your wonderful guidance.
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

Re: Notepad++ Auto-Completion

Post by Pablo César »

Rathinagiri wrote:I get the auto completion working in my system.

It will be helpful if we have the function name along with the syntax.

Thanks Pablo for your wonderful guidance.
Good ! So I will continue working on "with sintax". But remember, when user make his choice by auto-completion will write function name+sintax on the edition of source.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Notepad++ Auto-Completion

Post by srvet_claudio »

Rathinagiri wrote:It will be helpful if we have the function name along with the syntax.
+1
Pablo César wrote:But remember, when user make his choice by auto-completion will write function name+sintax on the edition of source.
In my case the syntax is more important.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply