Custom functions


Tried you your and I am pretty sure it supports what I need, but I need to be sure
if it handles following scenarios:

  • custom functions defined in application class
    i.e. I might have function ConnectCAN(); which will execute host code
  • can this be added to intellisense as autocomplete and all descriptions added like built in C# function.



The easiest way would be either to add signatures of the class/methods as a hidden code to the parser for code completion purposes or put this class in the separate assembly and add it to the Parser’s code completion engine using
parser.Repository.RegisterAssembly() method.

I’ve uploaded a sample project showing how this can be done (using the first way)

Kind regards,