Search this blog

lundi 7 février 2011

Emacs: commenter plusieurs lignes / comment several lines

FR: M-x correspond à appuyer sur echap puis sur x et ensuite on tappe la suite...pour aller plus vite ou voir les autres commandes possible, on peut tapper M-x puis c puis sur tab (mécanisme de complétion qui élimine tout ce qui ne correspond pas à "c" et affiche le reste). Pour info, pour "décommenter", il faut utiliser "uncomment-region"
M-x comment-region
M-x uncomment-region

EN: M-x means press the ESC key then x key. Type the commands below to comment or uncomment a region of code:
M-x comment-region
M-x uncomment-region


Source: http://www.developpez.net/forums/d11811/autres-langages/perl/langage/langage-mettre-plusieurs-lignes-commentaire/


Aucun commentaire:

Enregistrer un commentaire