Search code examples
autocompletesyntax-highlightingnotepad++

How can I enable auto complete support in Notepad++?


I am trying to add simple syntax highlighting and auto completion for a simple scripting language...

I added syntax highlighting using this article

Now I want to know how to enable auto completion with Notepad ++ for my custom language. Does anyone know how to do that?


Solution

  • For basic autocompletion, have a look at the files in %ProgramFiles%\Notepad++\plugins\APIs. It's basically just an XML file with keywords in. If you want calltips ("function parameters hint"), check out these instructions.

    I've never found any more documentation, but cpp.xml has a calltip for fopen, while php.xml is quite complete.