Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EDT:Code snippets"

Line 19: Line 19:
 
#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.  
 
#Disable the Rich Editor.  
 
#Disable the Rich Editor.  
#Embed your code in this 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>
+
#Type the following markup tag and embed your snippet:&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>
  
 
:<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 11:48, 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. Disable the Rich Editor.
  3. Type the following markup tag and embed your snippet:     

                   <source lang="java">

                   </source>      

For help with editing, see Wikitext examples.      




Copyright © Eclipse Foundation, Inc. All Rights Reserved.