Mlint error preventing tab completion in editor

1 vue (au cours des 30 derniers jours)
Amy Hu
Amy Hu le 14 Fév 2020
In Matlab Editor while editing a private method (not static) of a class, I'm unable to tab complete a property of the class if I haven't closed off all the parenthesese in the current line I'm editing. I'm currently running Matlab 2018b on Windows 10.
For example, typing
this.prop
tab after "prop" would pull up the property name "propertyName".
However if I start typing
strcmp(this.prop
nothing comes up with tab (aka "No completions found.").
It seems to caused by the fact my editor immediately highlights in the current line as error/incomplete code since I haven't closed off the parentheses for strcmp. But this is a current line I'm still editing...so I don't undertand why it would error right away.
Have tried this scenario on another computer and Matlab account (same version) and tab complete worked fine because there was no mlint error on the current line that's being edited, even with the strcmp not closed off yet.
Please let me know if there's a setting I can change

Réponses (0)

Catégories

En savoir plus sur Function Creation dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by