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

Fix Imports move use statement before namespace and file-level docblock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 12.4, 12.5
    • None
    • php - Editor
    • None

    Description

      As you can see in the video,  when I first hit "Ctrl+Shift-I", all 'Exception' class  of the project are not listed in dropdown.

      Then, when I hit again "Ctrl+Shift-I"  after file-level docblock added, all 'Exception' class of the project are listed except the PHP core Exception class. After validation, all use statements are moved to the top of the file and previously imported 'Exception' class disappear

      Attachments

        1. fix_import.gif
          813 kB
          frkinta

        Issue Links

          Activity

            People

              Unassigned Unassigned
              frkinta frkinta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: