~ubuntu-branches/ubuntu/vivid/gedit-plugins/vivid

« back to all changes in this revision

Viewing changes to help/fi/code-comment.page

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-12-12 16:35:11 UTC
  • mfrom: (1.4.15)
  • Revision ID: package-import@ubuntu.com-20131212163511-3zgtrv2ipt94w2ao
Tags: 3.10.1-0ubuntu1
* New upstream version
* debian/control.in:
  - updated gedit, gtk, gtksourceview requirements
* debian/patches/mark-git-plugin-translatable.patch: 
  - dropped, included in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="plugin-code-comment" xml:lang="fi">
 
3
 
 
4
  <info>
 
5
    <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>  
 
6
    <revision version="3.4" date="2013-02-24" status="review"/>
 
7
 
 
8
    <credit type="author">
 
9
      <name>Jim Campbell</name>
 
10
      <email its:translate="no">jwcampbell@gmail.com</email>
 
11
    </credit>
 
12
 
 
13
    <desc>Comment-out or uncomment a block of code.</desc>
 
14
  
 
15
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
 
16
      <mal:name>sampo555</mal:name>
 
17
      <mal:email>sampo_75 [at] windowslive [dot] com</mal:email>
 
18
      <mal:years>2012.</mal:years>
 
19
    </mal:credit>
 
20
  
 
21
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
 
22
      <mal:name>Valto Wirkola</mal:name>
 
23
      <mal:email>valto [dot] wirkola [at] yahoo [dot] com</mal:email>
 
24
      <mal:years>2008, 2010</mal:years>
 
25
    </mal:credit>
 
26
  
 
27
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
 
28
      <mal:name>Tommi Vainikainen</mal:name>
 
29
      <mal:email>thv [at] iki [dot] fi</mal:email>
 
30
      <mal:years>2006.</mal:years>
 
31
    </mal:credit>
 
32
  </info>
 
33
 
 
34
  <title>Code comment</title>
 
35
 
 
36
  <p>Code comments are portions of text that make it easier for people to
 
37
  understand a program's code, but they don't affect how a program works.
 
38
  Comments are separated from other parts of a program by special
 
39
  characters.</p>
 
40
  
 
41
  <p>The <app>code comment</app> plugin makes it easier to quickly create or
 
42
  remove code comments. To enable the code comment plugin, select
 
43
  <guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
 
44
  <gui>Plugins</gui><gui>Code comment</gui></guiseq>.</p>
 
45
  
 
46
  <steps>
 
47
    <title>To create or remove a comment:</title>
 
48
    <item>
 
49
      <p>Highlight the portion of text where you want to add or remove a
 
50
      comment.</p>
 
51
    </item>
 
52
    <item>
 
53
      <p>To add a comment, click <guiseq><gui style="menu">gedit</gui>
 
54
      <gui>Comment Code</gui></guiseq>, or press <keyseq><key>Ctrl</key>
 
55
      <key>M</key></keyseq>.</p>
 
56
    </item>
 
57
    <item>
 
58
      <p>To remove a comment, click <guiseq><gui style="menu">gedit</gui>
 
59
      <gui>Uncomment Code</gui></guiseq>, or press <keyseq><key>Shift</key>
 
60
      <key>Ctrl</key><key>M</key></keyseq>.</p>
 
61
    </item>
 
62
  </steps>
 
63
  
 
64
  <note style="tip">
 
65
    <p><app>gedit</app> will automatically use the correct style of comment
 
66
    based on the language or syntax of the file. If <app>gedit</app> doesn't
 
67
    identify your language or syntax, you can select it from the language list
 
68
    in the bottom <gui>Status bar</gui>.</p>
 
69
  </note>
 
70
 
 
71
</page>