Quantcast

[ jEdit-devel ] [jedit:plugin-bugs] #1876 [Beauty] Blank lines after class body #java

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:plugin-bugs] #1876 [Beauty] Blank lines after class body #java

UR6LAD

[plugin-bugs:#1876] [Beauty] Blank lines after class body #java

Status: open
Group:
Created: Mon Feb 27, 2017 11:45 AM UTC by UR6LAD
Last Updated: Mon Feb 27, 2017 11:45 AM UTC
Owner: nobody
Attachments:

Looks like it doesn't work. As far as I understand it should add some blank lines before last close curly bracket }. But now it always remove all blank lines even added manually.

So end of class file looks like:

        return something;
    }
}

jEdit: 5.3.0
Beauty: 1.0
java: 1.8.0_121

Step to reproduce:

1.Open any java source file.
2. Add some blank lines before last curly bracket.
3.Set 2 or more blank lines after body class:
1. Plugin Options -> Beauty -> Java Beautifier -> tab Blank Lines
2. Set 2 to Blank Lines After Class Body field.
4. Run the beautifier.
5. Check result.


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/plugin-bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-devel ] [jedit:plugin-bugs] #1876 [Beauty] Blank lines after class body #java

UR6LAD

I've tried change Blank Lines After Methods too. But result the same: zero lines between last method and last curly bracket.


[plugin-bugs:#1876] [Beauty] Blank lines after class body #java

Status: open
Group:
Created: Mon Feb 27, 2017 11:45 AM UTC by UR6LAD
Last Updated: Mon Feb 27, 2017 11:45 AM UTC
Owner: nobody
Attachments:

Looks like it doesn't work. As far as I understand it should add some blank lines before last close curly bracket }. But now it always remove all blank lines even added manually.

So end of class file looks like:

        return something;
    }
}

jEdit: 5.3.0
Beauty: 1.0
java: 1.8.0_121

Step to reproduce:

1.Open any java source file.
2. Add some blank lines before last curly bracket.
3.Set 2 or more blank lines after body class:
1. Plugin Options -> Beauty -> Java Beautifier -> tab Blank Lines
2. Set 2 to Blank Lines After Class Body field.
4. Run the beautifier.
5. Check result.


Sent from sourceforge.net because [hidden email] is subscribed to https://sourceforge.net/p/jedit/plugin-bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Loading...