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 25: | Line 25: | ||
</pre> | </pre> | ||
*To add most of your content, click Wikitext or disable the Rich Editor. | *To add most of your content, click Wikitext or disable the Rich Editor. | ||
− | *If you create a new page, ensure that the web address begins with '''EDT | + | *If you create a new page, ensure that the web address begins with '''EDT''' and a colon. |
For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples]. | For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples]. | ||
[[Category:EDT]] | [[Category:EDT]] |
Revision as of 12:08, 10 February 2012
Declaring values of EGL native types
To share a code snippet:
- 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:
<source lang="java"> // put code here </source>
- To add most of your content, click Wikitext or disable the Rich Editor.
- If you create a new page, ensure that the web address begins with EDT and a colon.
For help with editing, see Wikitext examples.