Beauty plugin issues
Submitted by Monday, 12 July, 2010 - 07:27
on
Hello
Really like jedit and the plugins that are provided. Many thanks to all the hard working developers who have contributed to this great program.
In teaching myself some Java I am using the Beauty plugin attached to a keyboard short (Ctrl-Shirt-F11). Using Beauty version 0.5.0 with Java mode.
The plugin in has two/ three little issues:
1. If have multiple classes in the same file (yes I know I shouldn't but the examples I am using do so) when I "Beauty" it I loose the lower classes. The workaround I have found is to change the bracketing to give my one class with sub-classes and then re-insert the brackets.
2. If I have a line that says "class MyClass extend Thread {" this becomes classMyClassextendThread{ if I have more than one class in the file as per 1 above. Does not affect sub-classes if I have removed
3. There is some weird thing where if I re-Beauty already formatted code I get additional blank lines between code which I can only delete via hand (regex search and replace not working). This is intermittent but then re-Beauty again and again keeps adding blank lines.
I have a brief look through the source code for Beauty but beyond my abilities to find or resolve. Ideas on what to do
Cheers
ITGuy
Really like jedit and the plugins that are provided. Many thanks to all the hard working developers who have contributed to this great program.
In teaching myself some Java I am using the Beauty plugin attached to a keyboard short (Ctrl-Shirt-F11). Using Beauty version 0.5.0 with Java mode.
The plugin in has two/ three little issues:
1. If have multiple classes in the same file (yes I know I shouldn't but the examples I am using do so) when I "Beauty" it I loose the lower classes. The workaround I have found is to change the bracketing to give my one class with sub-classes and then re-insert the brackets.
2. If I have a line that says "class MyClass extend Thread {" this becomes classMyClassextendThread{ if I have more than one class in the file as per 1 above. Does not affect sub-classes if I have removed
3. There is some weird thing where if I re-Beauty already formatted code I get additional blank lines between code which I can only delete via hand (regex search and replace not working). This is intermittent but then re-Beauty again and again keeps adding blank lines.
I have a brief look through the source code for Beauty but beyond my abilities to find or resolve. Ideas on what to do
Cheers
ITGuy