Skip to main content

Notice: This Wiki is now read only and edits are no longer 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 1: Line 1:
 
[[Declaring data|Declaring values of native types]]  
 
[[Declaring data|Declaring values of native types]]  
  
[[Defining custom types|Defining custom types and declaring their values]]  
+
[[Working with custom types|Working with custom types]]  
  
 
[[Writing basic logic|Writing basic logic]]  
 
[[Writing basic logic|Writing basic logic]]  
Line 15: Line 15:
 
*************<br>
 
*************<br>
  
 
+
<br>
  
 
To share a code snippet:  
 
To share a code snippet:  
  
 
#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.  
#Use the Wikitext editor to add a new snippet. In particular, use the '''source lang="java"''' tag to provide a background for your snippet and some syntax highlighting.
+
#Use the Wikitext editor to add a new snippet. In particular, use the '''source lang="java"''' tag to provide a background for your snippet with some highlighting of syntax elements.
  
 
<br>  
 
<br>  

Revision as of 14:41, 8 February 2012

Declaring values of native types

Working with custom types

Writing basic logic

Writing a Rich UI application

Accessing a service

Interacting with a database




To share a code snippet:

  1. On the page of interest, click Edit and, if necessary, log in to eclipse.org.
  2. Use the Wikitext editor to add a new snippet. In particular, use the source lang="java" tag to provide a background for your snippet with some highlighting of syntax elements.






Back to the top