Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-894

"Fix All Import" dialog includes top level package names

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      release-302-on-20180517
      JDK 10.0.1

      Description

      "Fix All Import" dialog includes top level package names.
      For example, when the source is in `com.example` package and has an import for `java.util.Set`, "Fix All Import" has `com` and `java` for the candidates.

      package com.example;
      
      import java.util.Set;
      
      class Foo {
        List strs;[ctrl]+[shift]+[i]
      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kishida Naoki Kishida
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: