Hello,
i have a GUI framework which described the GUI in a xml like code style with annotations.
for examle:
public class Test{
@GUIANFANG
@SPALTENANFANG
@COMPONENTINFO(width=100, height=100)
JPanel panel = new JPanel();
@SPALTENENDE
@SPALTENANFANG
@COMPONENTINFO(width=100, height=100)
JPanel panel = new JPanel();
@SPALTENENDE
@GUIENDE
int eof=0;
}
after i use the formatter, the code will look like this:
public class Test{
@GUIANFANG
@SPALTENANFANG
@COMPONENTINFO(width=100, height=100)
JPanel panel = new JPanel();
@SPALTENENDE
@SPALTENANFANG
@COMPONENTINFO(width=100, height=100)
JPanel panel = new JPanel();
@SPALTENENDE
@GUIENDE
int eof=0;
}
can i somehow define rules, that for example if there is an annotation "@GUIANFANG", the next line should be indented?
thanks
PS: i need this for indigo
[Updated on: Tue, 02 April 2013 12:56]
Report message to a moderator