I have a class that is located in a namespace folder, and within this namespace folder it is inside a class folder. Thus, the directory structure is
inpath/+namespace/@ClassName/ClassName.m
I'd like to provide some code suggestions for a method defined in ClassName.m.
I have generated a functionSignature.json file and placed it in
inpath/+namespace/@ClassName/
which did not work, and also in
inpath/+namespace/
which didn't work either.
Furthermore, I have tried the following function names:
"Classname.Methodname"
and
"namespace.ClassName.MethodName"
in both locations, but it did not work.
The answer to this question says that the syntax "ClassName.MethodName" is correct for class methods, but the class was not located in a namespace (and the answer does not say whether the class was defined in a class directory).
To be sure that there are no other errors, here is my original functionSignature.json file (using "namespace.ClassName.MethodName"):
{
"SICM.SICMScan.FromFile":
{
"inputs":
[
{"name":"in1", "kind":"ordered", "type":"file=*.sicm,*.sic,*.ras"}
]
}
}
My questions are:
- Where to put this file in the above case?
- How to name the method?