shoot, it didn't work. i'm just not seeing a setting to reformat the code if the args have been presented in a list. instead of 'tabs and indents', the 'wrapping' option looked promising, but it's not effecting my code either.
thanks for the suggestion. ooo.stephen. On Sep 13, 3:42 pm, Michèle Garoche <[email protected]> wrote: > On 13 sept. 10, at 23:59, ooo.stephen wrote: > > > reading the post i see the formatting was not kept. my goal is to > > keep the class args on one line, not in a list form. i'd like to hit, > > from the toolbar, Source => Format, and put the those args on a single > > line. > > In this case, you may try this: > Language Java, Category Tabs and Indents: > Right Margin: 0 > Continuation Indentation Size: 0 > Then format (well if the format was in list at the beginning you have > to suppress the indentation at the beginning of line). > > Michèle Garoche > > > > > thx. > > > On Sep 13, 2:48 pm, "ooo.stephen" <[email protected]> wrote: > >> anyone know how to auto format the code like so; > > >> from this... > >> /** Creates a new instance of Cartoon */ > >> public Cartoon(double regularPrice, > >> String publisher, > >> int yearPublished, > >> String characterName) > > >> to this... > >> /** Creates a new instance of Cartoon */ > >> public Cartoon(double regularPrice, String publisher, int > >> yearPublished, String characterName) > > >> the Tools => Options => Editor => Formatting, options do not offer > >> this ability. it offers many other convenient formatting options, > >> just not this one. > > >> thanks kindly, > >> ooo.stephen. > > > -- > > To post to this group, send email to > > [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group > > athttp://groups.google.com/group/javaprogrammingwithpassion?hl=en > > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en
