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 8: Line 8:
  
 
[[Interacting with a database|Interacting with a database]]  
 
[[Interacting with a database|Interacting with a database]]  
 
<br> <br> Please [[#Share_a_code_snippet|share your code snippets]]! <br> <br>
 
 
 
  
 
<br>  
 
<br>  
  
== Share a code snippet ==
+
To share a code snippet:
  
Edit a page by logging in to eclipse.org and clicking the Edit tab. Use the Wikitext editor to add a new snippet. Use the '''source lang="java"''' tag to provide a background for your snippet and some syntax highlighting.  
+
#On the appropriate page, 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.<br><br>
  
 
[[Category:EDT]]
 
[[Category:EDT]]

Revision as of 18:31, 7 February 2012

Declaring data

Writing basic logic

Writing a Rich UI application

Accessing a service

Interacting with a database


To share a code snippet:

  1. On the appropriate page, 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 and some syntax highlighting.

Back to the top