Why don't function syntax hints show up for some package functions?
1 次查看(过去 30 天)
显示 更早的评论
When I type a function name in my working directory, followed by an open paren, I get the expected hint:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159871/image.png)
When I type a function name that is in a package in my working directory, I still get the expected hint:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159872/image.png)
However, when I type a function name that is two levels deep in a package, I no longer get the function hint:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159873/image.png)
Is this a known issue? Is there anything I can do about this?
Edit: to be clear, these are all user-written functions that I am talking about.
Related: there doesn't seem to be any Mathworks documentation about writing function hints for functions with multiple input modes, is that a thing that we can do, or does that only work for internal MATLAB functions?
0 个评论
采纳的回答
Jordan Ross
2017-1-23
Hello Hugh,
I work for MathWorks and currently it is expected behavior that the function hints do not show up when you have a function two or more levels deep in a package. I have forwarded this feedback to the appropriate product team so that they can consider this enhancement in a future release of MATLAB.
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!