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 » Sat Aug 10, 2013 1:38 am

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 2130 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 2130 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 2130 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: 5243
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 162 times
Been thanked: 161 times
Contact:

Post by Rathinagiri » Sat Aug 10, 2013 2:42 am

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Mon Aug 12, 2013 4:15 pm

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Aug 13, 2013 1:07 am

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

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

Post by Rathinagiri » Tue Aug 13, 2013 2:28 am

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Aug 13, 2013 11:17 am

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Aug 13, 2013 12:20 pm

=== 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 1970 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 1970 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: 5243
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 162 times
Been thanked: 161 times
Contact:

Post by Rathinagiri » Tue Aug 13, 2013 2:35 pm

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
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Aug 13, 2013 2:46 pm

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: 2033
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 34 times
Been thanked: 143 times
Contact:

Post by srvet_claudio » Tue Aug 13, 2013 3:57 pm

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