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.
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]] | ||
− | [[ | + | [[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 | + | #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
To share a code snippet:
- 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 with some highlighting of syntax elements.