Closed redman-a closed 1 year ago
Thanks for working on this tedious but important issue!
outputs
if that information is not being used by Matlab at the moment."choices={}"
is a bug, please report to MathWorks. If it's needed to completely capture EasySpin's inputs, please try to make it work one way or another.sop
, I don't have an answer.All previously reported issues have been addressed. (NB: the current autocomplete behaviour is as MathWorks intends).
The .json has been updated up to commit ed7601a
This looks good. Thank a lot for this contribution!
This is perhaps a good point to share my progress. I have created fuctionSignatures.json inline with issue #236. Currently all documented functions have been included with
"description"
and"inputs"
arguments supplied. There are a few point/issues to discuss:"outputs"
argument, from a brief play this doesn't seem to do anything?Unless an initial
'
is supplied the suggestions MATLAB provides and autocompletes withtab
are string scalars rather then character vectors. While I don't think this will produce any errors, as the use cases for such arguments are mainly in switch/case blocks and MATLAB returnstrue
for"abc" == 'abc'
. It may encourage users to use the string type more widely in EasySpin and there are many functions which cannot handle strings. Even though it is incredibly useful, should the"choices={}"
argument be removed for all cases with character types?sop
has an elastic number of input arguments, I'm not sure how best to account for this?Before this is ready to merge it is likely that several
"name"
,"purpose"
and"description"
arguments will change to enhance consistency and simplify.