As we all know, we need to use standard formatting for team code development.

Hence Jalview is configured with:

- use project specific code formatting, imported from 
utils/eclipse/JalviewCodeStyle.xml

- Editor Save Action: formatted edited lines (only), plus a few additional save 
actions

These settings are in two metadata files under .settings in the workspace.


I have recently had the problem that the Jalview formatter seems to be ignored, 
and the Eclipse default applied instead.

For example, if I edit and save these lines

    public void closePanel()

    {

I get

  <tab>  public void closePanel() {

which corresponds to the Eclipse default, not the Jalview formatter.


This looks like a long standing bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=360711

I will explore whether reimporting the code style from XML resolves this.
Has anyone else had the same problem?

thanks,

mungo


[University of Dundee shield logo]<http://uod.ac.uk/sig-home>

Mungo Carstairs
Jalview Computational Scientist

The Barton Group
Division of Computational Biology

School of Life Sciences

University of Dundee, Dundee, Scotland, UK

www.jalview.org<http://www.jalview.org>

www.compbio.dundee.ac.uk<http://www.compbio.dundee.ac.uk>
[email protected]<mailto:[email protected]>



[University of Dundee Facebook]<http://uod.ac.uk/sig-fb> [University of Dundee 
Twitter] <http://uod.ac.uk/sig-tw>  [University of Dundee LinkedIn] 
<http://uod.ac.uk/sig-li>  [University of Dundee YouTube] 
<http://uod.ac.uk/sig-yt>  [University of Dundee Instagram] 
<http://uod.ac.uk/sig-ig>  [University of Dundee Snapchat] 
<http://uod.ac.uk/sig-sc>
We're Scottish University of the Year again!<http://uod.ac.uk/sig-strapline>
The Times / Sunday Times Good University Guide 2016 and 2017

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

Reply via email to