Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 Honor Eclipse settings for prefs.

closed
Johann Gyger
None
5
2006-12-23
2002-08-24
Anonymous
No

Hi there,

Very nice job on this decompiler plug-in! I'm just
trying it out, and it's worked great so far.

One comment/feature request: how about re-using in
JadClipse the code generation/formatting preferences
already defined elsewhere in Eclipse?

You can get hold of some preferences by calling
JavaPreferencesSettings.getCodeGenerationSettings()
which returns a CodeGenerationSettings instance.
Still in org.eclipse.jdt.internal.ui.preferences, you can
also look at CodeFormatterPreferencesPage and
JavaEditorPreferencePage for starting points.

Thanks!

Discussion

  • Logged In: YES
    user_id=281434

    I guess this can be done... Jad has many more options than
    JDT formatting/generations, but those that match can be
    optionally inferred from them. May be in the next release.

     
  • Logged In: NO

    I'm the original reporter of this bug. I just added myself to the
    monitor list.

     
  • Renaud Waldura
    Renaud Waldura
    2002-09-10

    Logged In: YES
    user_id=609291

    Once again, I'm the original reporter of this bug, and I'm
    hoping this time SF picks up my identity. Do let me know if
    you need help with this.

     
  • Johann Gyger
    Johann Gyger
    2006-12-23

    Logged In: YES
    user_id=7927
    Originator: NO

    Implemented in version 3.2.2

     
  • Johann Gyger
    Johann Gyger
    2006-12-23

    • assigned_to: nobody --> jgyger
    • status: open --> closed