<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="gedit-plugins-code-comment" xml:lang="fr">
  <info>
    <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>  
    <revision version="3.4" date="2013-02-24" status="review"/>

    <credit type="author">
      <name>Jim Campbell</name>
      <email>jwcampbell@gmail.com</email>
    </credit>

    <desc>Mettre en commentaire ou décommenter un bloc de code</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Vincent Untz</mal:name>
      <mal:email>vuntz@gnome.org</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Jonathan Ernst</mal:name>
      <mal:email>jonathan@ernstfamily.ch</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Philippe Lefevre</mal:name>
      <mal:email>ph.l@libertysurf.fr</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Christophe Bliard</mal:name>
      <mal:email>christophe.bliard@trux.info</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Claude Paroz</mal:name>
      <mal:email>claude@2xlibre.net</mal:email>
      <mal:years>2007-2011.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Bruno Brouard</mal:name>
      <mal:email>annoa.b@gmail.com</mal:email>
      <mal:years>2011.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Luc Pionchon</mal:name>
      <mal:email>pionchon.luc@gmail.com</mal:email>
      <mal:years>2011.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Alain Lojewski</mal:name>
      <mal:email>allomervan@gmail.com</mal:email>
      <mal:years>2011, 2012.</mal:years>
    </mal:credit>
  </info>

  <title>Commentateur de code</title>

  <p>Des commentaires de code sont des fragments de texte qui permettent aux personnes de comprendre le code d'un programme mais qui n'affectent pas la façon dont le code fonctionne. Les commentaires sont séparés des autres parties d'un programme par des caractères spéciaux.</p>
  
  <p>The <app>code comment</app> plugin makes it easier to quickly create or 
  remove code comments. To enable the code comment plugin, select
  <guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
  <gui>Plugins</gui><gui>Code comment</gui></guiseq>.</p>
  
  <p>Pour créer ou supprimer un commentaire :</p>
  <steps>
    <item><p>Sélectionnez le morceau de texte que vous souhaitez mettre en commentaire ou décommenter.</p></item>
    <item><p>To add a comment, click <guiseq><gui style="menu">gedit</gui>
    <gui>Comment Code</gui></guiseq>, or press <keyseq><key>Ctrl</key>
    <key>M</key></keyseq>.</p></item>
    <item><p>To remove a comment, click <guiseq><gui style="menu">gedit</gui>
    <gui>Uncomment Code</gui></guiseq>, or press <keyseq><key>Shift</key>
    <key>Ctrl</key><key>M</key></keyseq>.</p></item>
  </steps>
  
  <note style="tip"><p><app>gedit</app> will automatically use the correct
  style of comment based on the language or syntax of the file. If
  <app>gedit</app> doesn't identify your language or syntax, you can select it
  from the language list in the bottom <gui>Status bar</gui>.</p></note>

</page>
