Eclipse: Blacklist types from code completion

前端 未结 1 1976
粉色の甜心
粉色の甜心 2020-12-30 00:31

Is there a way to blacklist certain types from consideration in Eclipse\'s code completion?

For example, I use Google Collection\'s com.google.common.collect.L

相关标签:
1条回答
  • 2020-12-30 01:19

    You can set up Type Filters to do this. See the section "Suppress types in content assist" here for more information.

    Here are some screen shots for posterity:

    Open the preferences dialog and go to Java -> Appearance -> Type Filters:

    Type Filter Preferences

    Click the "Add..." button:

    Add Type Filter Dialog

    Now it should appear in the Filter list:

    New Type Filter Added

    0 讨论(0)
提交回复
热议问题