Re: Re: Java code formatting
Witold Szczerba <pljosh.mail <at> gmail.com>
2007-12-01 01:24:02 GMT
Could anyone, please, support me with issue I've recently entered?
http://www.netbeans.org/issues/show_bug.cgi?id=122841
It is about formatting (ctrl+alt+f) of method call chain.
This (actually not only this, but this is the worst thing) makes this
feature 100% useless.
In NB 5.5.1 I was using auto-format all the time, in NB6 I have to
think 10 times before using it and in 90% - I have to undo the result.
Thanks,
Witold Sz.
2007/11/30, Alex Lam S.L. <alexlamsl <at> gmail.com>:
> By "neither worked" you mean it doesn't do code formatting at all, or
> do you mean the code is formatted but not the way you want it?
>
> Alex.
>
> On Nov 30, 2007 8:21 AM, <javame.developer <at> gmail.com> wrote:
> > Hi, I installed NB;
> > Product Version: NetBeans IDE 6.0 RC2 (Build 200711201000)
> > Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
> > System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
> > Userdir: C:\Documents and Settings\erica\.netbeans\6.0rc2
> >
> > Then I installed Jalopy using the site that you specified earlier in this posting. but when I try to format
code the settings i set for jalopy were not used. I tried "Alt+Shift+F" and "Ctrl+Shift+F10" and neither
worked. What Am I doing wrong?
> >
> > Alex Lam S.L.-2 wrote:
> > >
> > > That's probably because the dev UC that I tend to use (I'm currently
> > > on 6.1-200711260000) is different from the "stable" UC then.
> > >
> > > Here are the 2 UCs found in my IDE:
> > >
> > > Additional Development Plugins:
> > > http://www.netbeans.org/updates/dev_1.23_.xml.gz
> > >
> > > Latest Development Build:
> > > http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
> > >
> > >
> > > Alex.
> > >
> > > On Nov 26, 2007 10:08 PM, Aaron Bruegl <abruegl <at> nighthawkrad.net> wrote:
> > >> Yes NB 6.0 RC2 on Ubuntu. I only have 49 plugins available. Do I need to
> > >> add a New Provider to my update center?
> > >>
> > >>
> > >> Alex Lam S.L. wrote:
> > >> > Oh - which version of 6.0 are you using? RC2?
> > >> >
> > >> > Alex.
> > >> >
> > >> > On Nov 26, 2007 9:56 PM, Aaron Bruegl <abruegl <at> nighthawkrad.net> wrote:
> > >> >
> > >> >> I don't see this available in the Plugins...
> > >> >>
> > >> >>
> > >> >> Alex Lam S.L. wrote:
> > >> >>
> > >> >>> Well there is a Jalopy plugin for NetBeans which you can download
> > >> from
> > >> >>> the update centre - at least for 6.0 anyway.
> > >> >>>
> > >> >>> Alex.
> > >> >>>
> > >> >>> On Nov 26, 2007 8:36 PM, Aaron Bruegl <abruegl <at> nighthawkrad.net>
> > >> wrote:
> > >> >>>
> > >> >>>
> > >> >>>> Where and what are the names of these related filed?
> > >> >>>>
> > >> >>>> For now, I can use a Jalopy ant task to format all of a projects
> > >> code -
> > >> >>>> would much rather have this option in NB though.
> > >> >>>>
> > >> >>>> -Aaron
> > >> >>>>
> > >> >>>>
> > >> >>>> Jiri Prox wrote:
> > >> >>>>
> > >> >>>>
> > >> >>>>> Hi,
> > >> >>>>>
> > >> >>>>> export/import of formatting setting is not yet implemented, but it
> > >> is
> > >> >>>>> planned for next release. Now, as temporary workaround you can copy
> > >> >>>>> related files from your userdir.
> > >> >>>>>
> > >> >>>>> There is already an enhancement filed asking reformatting all
> > >> project
> > >> >>>>> files - see issue 67397. You can vote for it.
> > >> >>>>>
> > >> >>>>> Regards
> > >> >>>>> Jirka
> > >> >>>>>
> > >> >>>>>
> > >> >>>>>
> > >> >>>>> Aaron Bruegl wrote:
> > >> >>>>>
> > >> >>>>>
> > >> >>>>>
> > >> >>>>>> Is there any way to export/import your java code formatting
> > >> preferences?
> > >> >>>>>>
> > >> >>>>>> Is there any way to format all the java source code in your entire
> > >> >>>>>> project?
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>> These sure would be nice options to have!
> > >> >>>>>> Thank you
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>>
> > >> >>
> > >> >>
> > >> ------------------------------------------------------------------------
> > >> >>
> > >>
> > >
> > >
> > Quoted from:
> > http://www.nabble.com/Java-code-formatting-tf4824327.html#a13961142
> >
> >
>