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

Autocomplete for assiging a property to class

    XMLWordPrintableJSON

Details

    Description

      It would be very helpful to have autocomplete when adding properties in php classes, just as there is for adding methods.

      For example:

       

      abstract class A{
        /**
         * Fill this property!
         * @var string
         */
        proptected $myProp;
      }
      
      class B extends A{
        /**
         * @var string
         */ 
        proptected $myProp = 'testing';
      }

      In class B we need to fill property '$myProp'. But while there is autocompletion for overwriting methods, there is none for properties.

      So every time when making a new extending class, you need to open the base-class to look for the properties you need to overwrite in your new class. This is really annoying.

      So my feature request is: please add auto-completion for declaring properties just like ther is voor methods in classes.

      Greetz, flexjoly

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: