I am trying to setup calltips functionality for Alaska XBase++ language in Notepad++, but I don't manage to get it working.
I read Npp's how to edit config files, I made a user-defined language called alaska, and created alaska.xml file and put it into .\plugins\APIs.
This is the XML code i tried:
<NotepadPlus>
<Autocomplete>
<KeyWord name="sample" func="yes">
<Overload retVal="void" descr="Sample description">
<Param name="filename string"/>
</Overload>
</KeyWord>
</Autocomplete>
</NotepadPlus>
Is there anything I am missing in code or outside it? Do I have to install it in some way aside from putting file in .\plugins\APIs? I also tried defining sample as a keyword in user-defined language window with no result in calltip (as a function).
PS: I made sure autocomplete options are enabled in Settings->Preferences (in fact it works for built-in languages), and I set alaska as current used language (and I get sample formatted as configured in style configuration)
Alright, I found the answer myself.
After checking that non-function keywords would work with no problem, I tried to completely define an
<Environment>
, even though in Npp docs they say it can be omitted.This is the complete tag:
And just in case I made sure i forgot no attributes.