(re: JAL-1551 source code formatting and editing)
?? Automatic code formatting is usually a good thing, but sometimes you don't want it. For example, for test data strings neatly laid out, one alignment per line. Or lists of items you want on separate lines (e.g. StockholmFile line 450). For javadoc comments (only), you can provide your own html formatting tags (e.g. <ul><li> etc), or turn off formatting with the <pre> tag. More generally, you can temporarily turn off code formatting in Eclipse with // @formatter:off ....your lines here... // @formatter:on The annotation is configured in the Eclipse | Preferences | Java | Codestyle | Formatter | Edit | Off/On Tags tab. [cid:f81dcc5b-5f08-45db-ae21-0dd938bc167d] The setting is stored along with other code formatting options in file .settings/org.eclipse.jdt.core.prefs At the moment this file is just on branch features/JAL-1264... awaiting merge into Release_2_2. Mungo The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________ Jalview-dev mailing list [email protected] http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev
