Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Organize imports filter
Organize imports filter [message #65923] Tue, 24 June 2003 10:23 Go to next message
Eclipse UserFriend
Originally posted by: omry_y.inter.net.il

I will be great if I could filter unwanted packages from the organize
imports algorithm.
Two useful way of defining unwanted packages are to say what I do allow, for
example:
allow only:
com.mycompany.*

or to say what I do deny.
deny any
com.ms.*

such setting should be workspace wide, but should be overrideable at the
project level.
is something like that planned?
Re: Organize imports filter [message #65940 is a reply to message #65923] Tue, 24 June 2003 10:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Omry Yadan <omry_y@inter.net.il> wrote:

+1
> I will be great if I could filter unwanted packages from the organize
> imports algorithm.
> Two useful way of defining unwanted packages are to say what I do allow, for
> example:
> allow only:
> com.mycompany.*

> or to say what I do deny.
> deny any
> com.ms.*

> such setting should be workspace wide, but should be overrideable at the
> project level.
> is something like that planned?



--
SY, Konstantin.
Re: Organize imports filter [message #66007 is a reply to message #65923] Tue, 24 June 2003 11:34 Go to previous messageGo to next message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
Feature requests should be entered in Bugzilla
(https://bugs.eclipse.org/bugs/enter_feature.cgi).
In this case, the component would be JDT/UI.

Jerome

"Omry Yadan" <omry_y@inter.net.il> wrote in message
news:bd98q7$dqu$1@rogue.oti.com...
> I will be great if I could filter unwanted packages from the organize
> imports algorithm.
> Two useful way of defining unwanted packages are to say what I do allow,
for
> example:
> allow only:
> com.mycompany.*
>
> or to say what I do deny.
> deny any
> com.ms.*
>
> such setting should be workspace wide, but should be overrideable at the
> project level.
> is something like that planned?
>
>
Re: Organize imports filter [message #66029 is a reply to message #65923] Tue, 24 June 2003 11:56 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
"Omry Yadan" <omry_y@inter.net.il> wrote in message
news:bd98q7$dqu$1@rogue.oti.com...

> I will be great if I could filter unwanted packages from the organize
> imports algorithm.
> Two useful way of defining unwanted packages are to say what I do allow,
for
> example:
> allow only:
> com.mycompany.*
>
> or to say what I do deny.
> deny any
> com.ms.*
>
> such setting should be workspace wide, but should be overrideable at the
> project level. is something like that planned?

Checkstyle will warn you if you are using imports from
a configurable list of prohibited packages (or package prefixes).

http://checkstyle.sourceforge.net/

Removing them automatically if the code still depends on them
might be a bit excessive ;-)
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: Organize imports filter [message #66138 is a reply to message #65923] Tue, 24 June 2003 12:39 Go to previous message
Eclipse UserFriend
Originally posted by: omry_y.inter.net.il

A new feature request was created.
whoever is interested, please add yourself to the CC list. (to vote)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=39267
Previous Topic:Unused public method?
Next Topic:LibraryClasspathContainer available
Goto Forum:
  


Current Time: Fri Jan 03 03:24:12 GMT 2025

Powered by FUDForum. Page generated in 0.04819 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top