I'd like to generate a compiled search TRIE file (like those found in
$InstallationDirectory\SystemFiles\FrontEnd\SystemResources\FunctionalFrequency\) to help implement the auto-completion feature on user-defined functions.
As described in File-name completion for custom functions, I could directly add a list of strings into the specialArgFunctions.tr file. However, my lists of arguments is long and likely to change during development, so I'd prefer to point to a TRIE file that I can update as needed.
How can I create a compiled TRIE file? Can this be done in Mathematica or Workbench? Is the TRIE file extension structure documented anywhere?
These files are here in v11:
FileNames["*.trie", PacletFind["AutoCompletionData"][]["Location"], Infinity ]
Similarly in 11 is
CA`CADumpTriePacketwhich seems to extract the properties from a trie file, but not the trie format itself.