When I comment the line 5 using ctrl+R or clicking on the "comment" icon:
I get:
I would like to have instead:
How to achieve that?
This is not a full solution, but a workaround for low levels of indentation.
The comment will now be at the right place, but unfortunately the space after the comment stays intact. However, for something like the code below you may like it:
for t=1:10
% t
end
After removing comments, you can simply use the auto indentation feature again and the code will look proper again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With