Jump to: navigation, search

Difference between revisions of "EDT:Code snippets"

Line 18: Line 18:
  
 
#On the page of interest, click '''Edit''' and, if necessary, log in to eclipse.org.  
 
#On the page of interest, click '''Edit''' and, if necessary, log in to eclipse.org.  
#Add a section or update an existing one; but always include your code in the following wikitext markup:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;source lang="java"&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/source&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
+
#Add a section or update an existing one; but always include your code in the following wikitext markup:<pre><source lang="java"&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/source&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
 +
::If you need to add that markup, disable the Rich Editor.
  
 
:<br>For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples]. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
 
:<br>For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples]. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>

Revision as of 10:56, 9 February 2012

Declaring values of EGL native types

Working with custom types

Writing basic logic

Working with a database

Accessing a service

Declaring widgets



To share a code snippet:

  1. On the page of interest, click Edit and, if necessary, log in to eclipse.org.
  2. Add a section or update an existing one; but always include your code in the following wikitext markup:
    <source lang="java"><br><br>               </source>       <br>
    
::If you need to add that markup, disable the Rich Editor. :<br>For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples].       <br> *************<br> <br> <br><br> [[Category:EDT]]