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 18: | Line 18: | ||
#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. | ||
− | #Add a section or update an existing one; but always include your code in the following wikitext markup:<pre><source lang="java"> | + | #Add a section or update an existing one; but always include your code in the following wikitext markup: |
+ | |||
+ | |||
+ | <pre><source lang="java"> | ||
+ | // put code here </source> | ||
− | |||
− | |||
</pre> | </pre> | ||
+ | <br> | ||
+ | :If you need to add that markup, disable the Rich Editor. | ||
− | + | For help with editing, see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples| Wikitext examples]. <br> *************<br> <br> <br><br> | |
− | + | [[Category:EDT]] |
Revision as of 11:58, 9 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>
- If you need to add that markup, disable the Rich Editor.
For help with editing, see Wikitext examples. <br> *************<br> <br> <br><br>