You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "flexJoly (Jira)" <ji...@apache.org> on 2020/01/08 11:03:00 UTC

[jira] [Updated] (NETBEANS-3675) Autocomplete for assiging a property to class

     [ https://issues.apache.org/jira/browse/NETBEANS-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

flexJoly updated NETBEANS-3675:
-------------------------------
    Description: 
It would be very helpful to have autocomplete when adding properties in php classes, just as there is for adding methods.

For example:

 
{code:php}
abstract class A{
  /**
   * Fill this property!
   * @var string
   */
  proptected $myProp;
}

class B extends A{
 /**
  * @var string
 */ proptected $myProp = 'testing';
}{code}
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

 

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

For example:

 
{code:php}
abstract class A{
  /**
   * Fill this property!
   * @var string
   */
  proptected $myProp;
}

class B extends A{
 /**
  * @var string
 */ proptected $myProp = 'testing';
}{code}
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

 


> Autocomplete for assiging a property to class
> ---------------------------------------------
>
>                 Key: NETBEANS-3675
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3675
>             Project: NetBeans
>          Issue Type: New Feature
>            Reporter: flexJoly
>            Priority: Major
>              Labels: autocomplete, class, extending, php, property
>
> It would be very helpful to have autocomplete when adding properties in php classes, just as there is for adding methods.
> For example:
>  
> {code:php}
> abstract class A{
>   /**
>    * Fill this property!
>    * @var string
>    */
>   proptected $myProp;
> }
> class B extends A{
>  /**
>   * @var string
>  */ proptected $myProp = 'testing';
> }{code}
> 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
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists