Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Organize imports filter
Organize imports filter [message #65923] Tue, 24 June 2003 06: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 06: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 07:34 Go to previous messageGo to next message
Eclipse UserFriend
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 07:56 Go to previous messageGo to next message
Eclipse UserFriend
"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 08: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: Sat May 10 06:44:14 EDT 2025

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

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

Back to the top