NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to run Fix Imports & Organize Imports together?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Marcelo Ruiz



Joined: 18 Nov 2008
Posts: 23

PostPosted: Wed May 16, 2012 12:53 pm    Post subject: How to run Fix Imports & Organize Imports together? Reply with quote

Hi All!
I installed the Organize Imports plugin in Netbeans 7.1.2.
I would like to set a keyboard shortcut to run Fix Imports and Organize Imports on the current class in that order, but I can't find a way to do it. Is there any way to achieve this?
I tried looking at build.xml to find ant targets that I could combine, but I don't see them...
Thanks!
Back to top
Javier Ortiz
Posted via mailing list.





PostPosted: Thu May 17, 2012 8:34 pm    Post subject: How to run Fix Imports & Organize Imports together? Reply with quote

Try the Inspect and Transform: http://netbeans.org/kb/docs/java/editor-inspect-transform.html

Not sure if you can all it with a shortcut.



Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed

-----Original Message-----
From: Marcelo Ruiz [mailto:address-removed]
Sent: Wednesday, May 16, 2012 7:54 AM
To: address-removed
Subject: [nbusers] How to run Fix Imports & Organize Imports together?

Hi All!
I installed the Organize Imports plugin in Netbeans 7.1.2.
I would like to set a keyboard shortcut to run Fix Imports and Organize Imports on the current class in that order, but I can't find a way to do it. Is there any way to achieve this?
I tried looking at build.xml to find ant targets that I could combine, but I don't see them...
Thanks!




**********

The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and confidential
use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not the
intended recipient of this message, or authorized to receive it for the
intended recipient, you have received this message in error, and you
are not to review, use, disseminate, distribute or copy this message,
any attachments thereto, or their contents. If you have received this
message in error, please immediately notify us by return e-mail
message, and delete the original message.

Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer.
Back to top
Javier Ortiz
Posted via mailing list.





PostPosted: Thu May 17, 2012 8:55 pm    Post subject: How to run Fix Imports & Organize Imports together? Reply with quote

I meant call. If not that might be a good enhancement request. Feel free to write it.



Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed


-----Original Message-----
From: Javier Ortiz [mailto:address-removed]
Sent: Thursday, May 17, 2012 3:34 PM
To: address-removed
Subject: [nbusers] Re: How to run Fix Imports & Organize Imports together?

Try the Inspect and Transform: http://netbeans.org/kb/docs/java/editor-inspect-transform.html

Not sure if you can all it with a shortcut.



Senior Software Quality Engineer
ArthroCare Corporation
7000 William Cannon Drive
Austin, TX 78735
Phone: 512-358-5996
email: address-removed

-----Original Message-----
From: Marcelo Ruiz [mailto:address-removed]
Sent: Wednesday, May 16, 2012 7:54 AM
To: address-removed
Subject: [nbusers] How to run Fix Imports & Organize Imports together?

Hi All!
I installed the Organize Imports plugin in Netbeans 7.1.2.
I would like to set a keyboard shortcut to run Fix Imports and Organize Imports on the current class in that order, but I can't find a way to do it. Is there any way to achieve this?
I tried looking at build.xml to find ant targets that I could combine, but I don't see them...
Thanks!




**********

The information contained in this e-mail message, together with any attachments thereto, is intended only for the personal and confidential use of the addressee named above. The message and the attachments are or may be privileged or protected communication. If you are not the intended recipient of this message, or authorized to receive it for the intended recipient, you have received this message in error, and you are not to review, use, disseminate, distribute or copy this message, any attachments thereto, or their contents. If you have received this message in error, please immediately notify us by return e-mail message, and delete the original message.

Pursuant to Circular 230 issued by the United States Treasury Department and relating to practice before the Internal Revenue Services, any comment or opinion in this communication relating to a federal tax issue is not intended to be used, and cannot be used, by a taxpayer for the purpose of avoiding tax-related penalties that may be imposed on the taxpayer.

**********

The information contained in this e-mail message, together with any
attachments thereto, is intended only for the personal and confidential
use of the addressee named above. The message and the attachments
are or may be privileged or protected communication. If you are not the
intended recipient of this message, or authorized to receive it for the
intended recipient, you have received this message in error, and you
are not to review, use, disseminate, distribute or copy this message,
any attachments thereto, or their contents. If you have received this
message in error, please immediately notify us by return e-mail
message, and delete the original message.

Pursuant to Circular 230 issued by the United States Treasury
Department and relating to practice before the Internal Revenue
Services, any comment or opinion in this communication relating to a
federal tax issue is not intended to be used, and cannot be used, by a
taxpayer for the purpose of avoiding tax-related penalties that may be
imposed on the taxpayer.
Back to top
Marcelo Ruiz



Joined: 18 Nov 2008
Posts: 23

PostPosted: Fri May 18, 2012 3:31 am    Post subject: Reply with quote

Thanks Javier for your suggestion. I will give it a try...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo