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

PHP Template missing Namespace option

    XMLWordPrintableJSON

Details

    Description

      As a
      PHP Developer

      I want to

      Create additional PHP Class template files which still allow entering namespace in the file creation wizard after moving them to sub-directories and restarting the IDE

      So that

      Namespaces are automatically entered into the file created.

      Issue Details:

      Creating a new template by going to:

      Tools -> Templates

      Navigating to the PHP folder

      Duplicate "PHP Class"

      Creating a new file from this template correctly fills out and asks about Namespace (context is obtained when using the tree right click -> new).

      After restarting NetBeans it seems to lose this ability and no longer displays the namespace box when creating a new file from this duplicated template.

      Also moving the template into a sub folder loses this context as well.

       

       

      Attachments

        1. Screenshot from 2021-09-24 10-05-00.png
          41 kB
          Kevin Andrews
        2. Screenshot from 2021-09-24 10-05-27.png
          32 kB
          Kevin Andrews
        3. Screenshot from 2021-09-24 10-05-18.png
          35 kB
          Kevin Andrews
        4. Screenshot from 2021-09-24 10-03-34.png
          31 kB
          Kevin Andrews
        5. Screenshot from 2021-09-24 10-04-15.png
          75 kB
          Kevin Andrews
        6. Screenshot from 2021-09-24 10-02-56.png
          30 kB
          Kevin Andrews
        7. Screenshot from 2021-09-24 10-01-01.png
          43 kB
          Kevin Andrews
        8. Screenshot from 2021-09-24 10-02-43.png
          52 kB
          Kevin Andrews
        9. Screenshot from 2021-09-24 10-01-40.png
          42 kB
          Kevin Andrews

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              kevinandrews Kevin Andrews
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m