Notepad++ Auto-Completion
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Notepad++ Auto-Completion
Thank you guys, I will keeping on working with syntax...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Notepad++ Auto-Completion
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.
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) b. And when typing the parenthesis [ the character "(" ] will then show the syntax and parameters with brief description. c. There functions over which a syntax is displayed differently. See pictures below. To see both syntax, click the arrow button (circled in red color) 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.
1. Style with the parameters included in the return, allowing leverage variables and know the syntax.
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) b. And when typing the parenthesis [ the character "(" ] will then show the syntax and parameters with brief description. c. There functions over which a syntax is displayed differently. See pictures below. To see both syntax, click the arrow button (circled in red color) 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.
I'm sure you will like it, because it will be of great assistance in the preparation of your source code.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.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- 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
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.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Notepad++ Auto-Completion
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.
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: Notepad++ Auto-Completion
Muchas gracias, Gran aporte.
Thank you very much, Great contribution.
Thank you very much, Great contribution.
Skydone Solutions
www.skydone.com
www.skydone.com
Re: Notepad++ Auto-Completion
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
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