Wow - I missed that option... That works great...

Have I mentioned how much I love this IDE? :)

- Tim


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of Valentin Kipiatkov
> Sent: Friday, November 02, 2001 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Eap-list] Defining Javadoc templates for 
> getters and setters
> 
> 
> > Thanks for the tip - I hadn't noticed that feature yet! 
> Unfortunately, 
> > this approach to generating getters and setters doesn't 
> work as well 
> > for me. Due to coding standards, my instance attributes are 
> prefixed 
> > with an "m" (for "member"), a prefix that I do not wish to 
> preserve in 
> > my getter and setter names. Going through the "Encapsulate Fields" 
> > refactoring allows me to edit the names of the getters and 
> setters to 
> > be generated. Going through the Alt-Insert approach does not...
> 
> Go to Tools | IDE Options | Code Style and edit values in the 
> "Name Prefix" group. In your particular case, you have to set 
> "m" in the "Field" value. Does it help?
> 
> Best regards,
> Valentin Kipiatkov
> -----------------------------------------------------------
>  IntelliJ Software, http://www.intellij.com/
>  "Develop with pleasure"
> -----------------------------------------------------------
> 
> ----- Original Message -----
> From: "Timothy M. Dean" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 02, 2001 8:17 PM
> Subject: RE: [Eap-list] Defining Javadoc templates for 
> getters and setters
> 
> 
> > Dan,
> >
> > Thanks for the tip - I hadn't noticed that feature yet! 
> Unfortunately, 
> > this approach to generating getters and setters doesn't 
> work as well 
> > for me. Due to coding standards, my instance attributes are 
> prefixed 
> > with an "m" (for "member"), a prefix that I do not wish to 
> preserve in 
> > my getter and setter names. Going through the "Encapsulate Fields" 
> > refactoring allows me to edit the names of the getters and 
> setters to 
> > be generated. Going through the Alt-Insert approach does not...
> >
> > Still very useful for creating contructors though!!
> >
> > - Tim
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> > > [mailto:[EMAIL PROTECTED]] On Behalf Of North D
> > > Sent: Friday, November 02, 2001 10:41 AM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: [Eap-list] Defining Javadoc templates for 
> getters and 
> > > setters
> > >
> > >
> > > Try alt-insert for generating getters, setters and constructors.  
> > > Especially for value objects with lots of fields - you 
> can generate 
> > > them all at once which is great.
> > >
> > > +1 for template-based getter and setter generation though.
> > > I've written
> > > +my
> > > own live template for my current house style but it does 
> get really 
> > > boring hitting the template over and over rather than using the 
> > > alt-insert facility.
> > >
> > > Thanks again for a great product (haven't said that for a few 
> > > days...)
> > >
> > > Cheers,
> > > Dan
> > >
> > >
> > > > -----Original Message-----
> > > > From: Timothy Dean [mailto:[EMAIL PROTECTED]]
> > > > Sent: 02 November 2001 15:42
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [Eap-list] Defining Javadoc templates for getters
> > > and setters
> > > >
> > > >
> > > > I just discovered the wonderful "encapsulate fields" 
> > > > refactoring... What a great way to automatically create getters 
> > > > and setters for my field definitions! I love this 
> product more and 
> > > > more every time I figure out how to
> > > > use a new refactoring!!
> > > >
> > > > One suggestion I would make for future enhancements: When I use 
> > > > this feature to generate getters and/or setters, it 
> would be nice 
> > > > if I
> > > could have a
> > > > Javadoc template that is used to generate my Javadoc for my new 
> > > > setters and getters.. Something like the class templates you 
> > > > already have under Tools/IDE
> > > > Options/Class Templates would be wonderful!
> > > >
> > > > Thanks for the fabulous product - I used to be a 
> Jbuilder zealot 
> > > > but I have been converted!
> > > >
> > > > - Tim
> > > >
> > > > _______________________________________________
> > > > Eap-list mailing list
> > > > [EMAIL PROTECTED] 
> > > > http://www.intellij.com/mailman/listinfo/eap-list
> > > >
> > >
> > >
> > > **************************************************************
> > > *************************
> > > This email and any files transmitted with it are confidential and 
> > > intended solely for the use of the individual or entity 
> to whom they
> > > are addressed.
> > > If you have received this email in error please notify
> > > [EMAIL PROTECTED] immediately.
> > >
> > > This footnote also confirms that this email message has 
> been swept 
> > > for the presence of computer viruses.
> > > **************************************************************
> > > *************************
> > >
> > > _______________________________________________
> > > Eap-list mailing list
> > > [EMAIL PROTECTED] 
> http://www.intellij.com/mailman/listinfo/eap-> 
> > > list
> > >
> 
> >
> >
> > _______________________________________________
> > Eap-list mailing list
> > [EMAIL PROTECTED] 
> > http://www.intellij.com/mailman/listinfo/eap-list
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED] 
> http://www.intellij.com/mailman/listinfo/eap-> list
> 


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to