Summary: | [codeassist] Add the ability to hide deprecated methods from Code Assist | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Francis Lui <francis.lui> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | P3 | CC: | daniel_megert, francis.lui, scottf, sean.johnson |
Version: | 3.2 | ||
Target Milestone: | 3.2 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Francis Lui
2006-02-10 13:34:36 EST
+1 See also discussions in bug 106000. When do you think you could schedule this work? M5 (as a developer, I know that would be asking too much :) ) or M6? Thanks! Francis This is conditionned by an API change. So if it occurs with 3.2, it must occur by M5, which means this early this week. Great! So is your answer, "yes, it will be in M5," or "no, it's too late to make it into M5?" The "Target Milestone" is still set to "---". Fixed and tests added CompletionTests#testDeprecationCheck1() -> testDeprecationCheck16() Added filtering of deprecated types and members. Deprecated types and members aren't filtered if they are defined in the same compilation unit as completion location. eg. /** @deprecated */ class X { X| // X should be proposed in this case } Added a new option CODEASSIST_DEPRECATION_CHECK in JavaCore. * CODEASSIST / Activate Deprecation Sensitive Completion * When active, completion doesn't show deprecated members and types. * - option id: "org.eclipse.jdt.core.codeComplete.deprecationCheck" * - possible values: { "enabled", "disabled" } * - default: "disable" I open a new bug to request the addition of this option in the Content Assist preference page (bug 127481). Currently filtering doesn't work correctly for type references (bug 127628). This problem won't be fixed for 3.2M5. Note that bug 127628 was not fixed for M5 as it needs an additional char in index file and we wanted to measure impact on performances before release this change... Verified for 3.2 M5 using build I20060215-0010. |