auto-completion without ()
-
Hi
I want to show the auto completion suggestion without input “()”. Currently, suggestions are shown only after input “()” -
When you have function completion enabled, you have to type the startFunc character to trigger the function help pop-up window. This is defined in the XML file describing the language of the active file (plugins\APIs\<language>.xml). Here is an example:
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=""/>
I don’t think there is any way to avoid this other than to edit the NPP source code to have whatever behavior you desire.
-
@Jim Dailey: Thank for your suggestion. That approach requires a lot coding for amateur. Have any step-by-step guide for that ?
-
No, sorry.
If the “(” is already present, then if you have the cursor somewhere inside the “(…)”, you can press Ctrl-Alt-Spacebar to bring up the function completion help window (if there is an entry in the XML for that function).