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

Help:Editing

Revision as of 17:42, 18 September 2008 by Juanjosecg.gmail.com (Talk | contribs)

See the MediaWiki editing help.

Here is a complete list of the templates available on the Eclipse wiki, just waiting yours to add up!

If you have to write source code in Java, you can use this template:

Language Source Result
Java
<source lang="java">
 public static void main(String args[]) {
      System.out.println("Hello world");
 }
</source>
 public static void main(String args[]) {
      System.out.println("Hello world");
 }
XML
<source lang="xml">
<extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
      <decorator
            class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
            source="textAnnotationSource"/>
</extension>
</source> 
<extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
      <decorator
            class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
            source="textAnnotationSource"/>
</extension>

also, in the «lang» tag, you can use any of the supported languages for syntax highlighting:

abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp,
cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl,
ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml, ocaml-brief, oobas,
oracle8, pascal, per, perl, php, php-brief, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk,
smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80

Back to the top