#729 Beauty 0.6.0

closed
None
5
2014-05-12
2011-02-22
Dale Anson
No

{{{ beauty 0.6.0
Source: Source code is in SVN with the tag https://jedit.svn.sourceforge.net/svnroot/jedit/plugins/Beauty/tags/beauty-0.6.0
Announcement:
- Improvements to JSP beautifier.
- Improvements to Java beautifier.
- Added some options to Java beautifier.
- Improvements to JSON beautifier.
- Improvements to BSH beautifier.
Requires Java 1.6
Requires jEdit 04.03.99.00
Required plugins:
Common Controls 1.2 (CommonControlsPlugin)

Short Description: The Beauty plugin is a general framework for code beautifiers and provides several built-in beautifiers.

Long Description: The Beauty plugin is a general
framework for code beautifiers and provides several
built-in beautifiers. While there are several existing
plugins for beautifying/formatting various source file
formats, this plugin aims to consolidate those
formatters into a standard API so that beautifying can
be performed in a general way, similar to how the
SideKick plugin provides a general framework for code
browsers.
}}}

Discussion

  • Townsfolk

    Townsfolk - 2011-02-22

    Hey Dale, got some compilation errors:
    [quote]
    compile:
    [javac] Compiling 83 source files to /Users/eberry/development/projects/jedit/plugins/sandbox/Beauty-0.6.0/Beauty/temp/classes
    [javac] /Users/eberry/development/projects/jedit/plugins/sandbox/Beauty-0.6.0/Beauty/src/beauty/BeautyPlugin.java:9: cannot find symbol
    [javac] symbol : class ThreadUtilities
    [javac] location: package org.gjt.sp.util
    [javac] import org.gjt.sp.util.ThreadUtilities;
    [javac] ^
    [javac] /Users/eberry/development/projects/jedit/plugins/sandbox/Beauty-0.6.0/Beauty/src/beauty/BeautyPlugin.java:230: cannot find symbol
    [javac] symbol : variable ThreadUtilities
    [javac] location: class beauty.BeautyPlugin
    [javac] ThreadUtilities.runInDispatchThread( new BeautyThread( buffer, view, showErrorDialogs, beautifier ) );
    [javac] ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
    [/quote]

    I think the ThreadUtilities was introduced in trunk (4.4.x+). Should the dependency be updated?

     
  • Townsfolk

    Townsfolk - 2011-02-22
    • assigned_to: nobody --> elberry
    • status: open --> pending
     
  • Dale Anson

    Dale Anson - 2011-03-01
    • status: pending --> closed
     
  • Dale Anson

    Dale Anson - 2011-03-01

    I'm traveling for work this week and won't have time to look at it until later in the week. I'd rather it worked with 4.3 final rather than bump up the dependency. I'll put in a new request when I get it sorted out.

     
  • Dale Anson

    Dale Anson - 2011-03-07

    Okay, that issue is fixed, plus there are a few more minor bug fixes included. Same tag.

     
  • Dale Anson

    Dale Anson - 2011-03-07
    • status: closed --> open
     
  • Townsfolk

    Townsfolk - 2011-03-07

    Thanks Dale, I've confirmed that the issue is fixed, and I've gone through the release, but it seems that the release isn't being recognized by PluginManager - either the plugins xml isn't being pushed properly, or PluginManager isn't reading it properly, so I'm unable to close this one out yet. I'll close it out once I'm able to download the new plugin from within PluginManager.

     
  • Townsfolk

    Townsfolk - 2011-03-07

    Released to Plugin Central.

     
  • Townsfolk

    Townsfolk - 2011-03-07
    • status: open --> closed
     

Log in to post a comment.