jEdit Community - Resources for users of the jEdit Text Editor
Beauty plugin issues
Submitted by ITGuy on Monday, 12 July, 2010 - 07:27
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
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293