Matlab-Editor-Plugin
Matlab-Editor-Plugin copied to clipboard
Double operator (++) should insert "var = var + 1"
When I type
var++
I should get
var = var + 1
not just
var = var +
Also, the cursor should jump behind the "1".
If you agree, I will implement this.
Also, I noticed the enableDoubleOperator is not visible in the clickable options form, but I could find it on some screenshot in the documentation. Is this functionality deprecated?
If not, it should be re-added to the options and also noted in the features/documentation, as I think it's quite useful.
i did leave it open, because in most cases i didn't need +1 but something else. i don't mind if you change it. what about instead of jumping behind, it could select "1"?
Also, I noticed the enableDoubleOperator is not visible in the clickable options form, but I could find it on some screenshot in the documentation. Is this functionality deprecated?
well... it was originally in the old MEP@Mathworks. i did a quick implementation for myself, i was too lazy to get rid of some issues, and then i forgot to "officially" anounce it (and clean things up).
it needs to be adjusted here (addFeatureSelector - properties)
feature.enableDoubleOperator
and here (addFeatureSelector - types )
PropertyType.BOOLEAN
OK.
I'll get on it when I have a moment.