Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to provide default "Type filter"
How to provide default "Type filter" [message #899072] Mon, 30 July 2012 13:32 Go to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Under Java -> Appearance -> Type Filters I can enter filters for types I don't want to use. As I never use java.awt and javax.swing I would like to create some default settings for example via plugin_customization.ini.

Is this possible? I used grep to search through the .metadata/.plugins directory but I found only binary files.

Re: How to provide default "Type filter" [message #899289 is a reply to message #899072] Tue, 31 July 2012 11:09 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 30.07.2012 15:32, Lars Vogel wrote:
> Under Java -> Appearance -> Type Filters I can enter filters for types
> I don't want to use. As I never use java.awt and javax.swing I would
> like to create some default settings for example via
> plugin_customization.ini.
>
> Is this possible? I used grep to search through the .metadata/.plugins
> directory but I found only binary files.
e.g.
org.eclipse.jdt.ui/org.eclipse.jdt.ui.typefilter.enabled=javax.*;

Hint to find such keys:
1. start a new workspace
2. change the preference
3. export all preferences
4. search the key in the exported file

Note that you need to remove the scope (e.g. /instance/) before copying
it into the plugin_customization.ini file.

Dani
Re: How to provide default "Type filter" [message #899315 is a reply to message #899289] Tue, 31 July 2012 13:03 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Can typfilters also get applied to Projects, or only generally on the
whole workspace?

Tom

Am 31.07.12 13:09, schrieb Daniel Megert:
> On 30.07.2012 15:32, Lars Vogel wrote:
>> Under Java -> Appearance -> Type Filters I can enter filters for types
>> I don't want to use. As I never use java.awt and javax.swing I would
>> like to create some default settings for example via
>> plugin_customization.ini.
>>
>> Is this possible? I used grep to search through the .metadata/.plugins
>> directory but I found only binary files.
> e.g.
> org.eclipse.jdt.ui/org.eclipse.jdt.ui.typefilter.enabled=javax.*;
>
> Hint to find such keys:
> 1. start a new workspace
> 2. change the preference
> 3. export all preferences
> 4. search the key in the exported file
>
> Note that you need to remove the scope (e.g. /instance/) before copying
> it into the plugin_customization.ini file.
>
> Dani
>
Re: How to provide default "Type filter" [message #899370 is a reply to message #899289] Tue, 31 July 2012 15:12 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Thanks Dani, works fine for me.
Previous Topic:Adding a Nature/Builder automatically to a project
Next Topic:Using ADK with Relative Layout on Eclipse
Goto Forum:
  


Current Time: Fri Apr 19 01:29:38 GMT 2024

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

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

Back to the top