About: Syntax folding for Java   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

The fold-method marker can be used to set folds in Java source. Define a marker and place it inside HTML comments . This way, it does not affect the Javadocs generated without the necessity of a seprate comment line. For example: /** * * The class description. * ... */ public class AbcClass { /** * * Method description. */ public void someMethod(); ... } /* zz.END: AbcClass */ /* Put this at the end of your file */ /* vim:fdm=marker fmr=zz.FOLDSTART,zz.END fdl=2 fdc=2: */ Now the file will be opened with the methods neatly folded, and typing zR will open all folds. fdm=/**,*/

AttributesValues
rdfs:label
  • Syntax folding for Java
rdfs:comment
  • The fold-method marker can be used to set folds in Java source. Define a marker and place it inside HTML comments . This way, it does not affect the Javadocs generated without the necessity of a seprate comment line. For example: /** * * The class description. * ... */ public class AbcClass { /** * * Method description. */ public void someMethod(); ... } /* zz.END: AbcClass */ /* Put this at the end of your file */ /* vim:fdm=marker fmr=zz.FOLDSTART,zz.END fdl=2 fdc=2: */ Now the file will be opened with the methods neatly folded, and typing zR will open all folds. fdm=/**,*/
Version
  • 6(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 141(xsd:integer)
Category
  • Java
  • Folding
Complexity
  • basic
Created
  • 2001(xsd:integer)
ID
  • 143(xsd:integer)
NEXT
  • 144(xsd:integer)
Rating
  • 28(xsd:integer)
abstract
  • The fold-method marker can be used to set folds in Java source. Define a marker and place it inside HTML comments . This way, it does not affect the Javadocs generated without the necessity of a seprate comment line. For example: /** * * The class description. * ... */ public class AbcClass { /** * * Method description. */ public void someMethod(); ... } /* zz.END: AbcClass */ /* Put this at the end of your file */ /* vim:fdm=marker fmr=zz.FOLDSTART,zz.END fdl=2 fdc=2: */ Now the file will be opened with the methods neatly folded, and typing zR will open all folds. Another thing you might try, if you don't feel like changing the source by adding markers is to set your foldmarker to the javadoc comment blocks: fdm=/**,*/ Try the following to fold on /* */ if editing source that is overcommented: autocmd FileType java :set fmr=/**,*/ fdm=marker fdc=1
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software