I'm trying to use Notepad++ with the Progress programming language.
I have installed the language definition in %APPDATA%\Roaming\Notepad++
as userDefineLang.xml
and syntax highlighting is working correctly.
I've put a file in the notepad++ Plugins\APIs
directory named progress.xml
, but the contents are not recognized by Notepad++.
I've also removed all the other language files from that directory and Notepad++ still shows the exact same autocomplete suggestions it did before I removed them.
Also, when typing in a program, it looks like every word in the file is an auto-complete suggestion, not just the keywords or function names.
Anyone know how to track this down?
Notepad++ provides 2 types of features:
Auto-completion that read the open file and provide suggestion of words and/or functions within the file
Suggestion with the arguments of functions (specific to the language)
Based on what you write, it seems what you want is auto-completion on function only + suggestion on arguments.
To do that, you just need to change a setting.
Go to Settings > Preferences... > Auto-completion Check Enable Auto-completion on each input Select Function completion and not Word completion Check Function parameter hint on input (if you have this option)
https://i.stack.imgur.com/E9Rdj.png
Some documentation about auto-completion is available in Notepad++ Wiki.
The answer is to DISABLE "Enable auto-completion on each input". Tested and works perfectly.
Success story sharing
Alt+t>p>a>
and then a manual click on"Enable auto-completion on each input"
. I have not yet applied stackoverflow.com/questions/34609009/… to map the last manual click to a keyboard command.