How can I change the behavior of the commenting function so that the location of the % respect the indentation?
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
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?
0 Commenti
Risposte (1)
  Mischa Kim
    
      
 il 3 Feb 2014
        Franck, probably the easiest way is to use smart indenting: select all text (CTRL + a) and then use CTRL + i.
0 Commenti
Vedere anche
Categorie
				Scopri di più su Image Processing Toolbox in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!