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

flexJoly updated NETBEANS-4647:
-------------------------------
    Description: 
 

Hi,

For years now I am using netbeans for php and promoting it to every 
php-programmer, mostly with success!

But since version 8 or so, I have the feeling that php in netbeans is not 
getting better :( Even to the point that I am starting to look for another IDE.

-I know one jira-issue should only have ONE topic and purpose. But I have the 
feeling that php does not have much priority. And some of my previous 
reports/requests did not get any attention. So first I want to know if what I 
say below wil get any priority before taking much time to make a detailed 
report.- 
 -Sorry!!! But I am really getting disappointed on netbeans :( and desperate- 

edit: i split my post in separate issues
 * https://issues.apache.org/jira/browse/NETBEANS-4650
 * https://issues.apache.org/jira/browse/NETBEANS-4649
 * https://issues.apache.org/jira/browse/NETBEANS-4648

 My previous request for autocompletion on properties:

https://issues.apache.org/jira/browse/NETBEANS-3675 

 
h3. Codecompletion with namespace, aliases and extends

 

Overwritten function seen in _*parent-class:*_

!image-2020-07-28-13-02-07-177.png|width=582,height=318!

Extend class seen in parent-class:
 !image-2020-07-28-14-43-06-810.png|width=650,height=345!

 Overwritten function in _*parent-class*_ NOT seen when using an alias for the 
namespace

   !image-2020-07-28-13-04-10-932.png|width=536,height=275!

Extend class not seen in parent-class when using an alias as namespace
 !image-2020-07-28-14-41-38-480.png|width=650,height=346!

Codecompletion working when parentclass has override-function with 
alias-namespace

!image-2020-07-28-13-10-46-227.png|width=582,height=290!

 

No codecompletion after removing the function in the parent-class

!image-2020-07-28-13-11-45-910.png|width=571,height=236!

Correct Code completion with Alias and function:

!image-2020-07-28-13-15-11-891.png|width=566,height=229!

 

 No Codecompletion with alias in childclass, alias in first-parent removed and 
function removed:

!image-2020-07-28-13-17-15-567.png|width=705,height=308!

 

While writing this issue I found the difference when having an overridden 
function or not....

some code:

  
{code:php}
namespace rh\data\listdata;
use rh\data\data\Data;
use rh\data\listdata\ListInterface;

class ListData extends Data implements ListInterface{
  public function getListIds(){
    // netbeans does not see that it is extended by 
\sales\product\record\ListRecord
  }
}
{code}
{code:php}
namespace rhAdmin\sales\product\record\ListRecord;
use rh\data\listdata\ListData;

class ListRecord extends ListData{

}
{code}
{code:php}
namespace sales\product\record;
use rhAdmin\sales\product\record\ListRecord as rhBase;

class ListRecord extends rhBase{
  public function otherTest(){
    // when start typing '$this->' the items from the parent-classes are not 
seen/shown by netbeans
  }
}

{code}
 

 

 

 

I hope someone can reproduce this or tell me what I am doing wrong.
 Sorry for my female complaints :P

Still hoping someone can help. xxxx

flexjoly

 

 

 

 

  was:
 

Hi,

For years now I am using netbeans for php and promoting it to every 
php-programmer, mostly with success!

But since version 8 or so, I have the feeling that php in netbeans is not 
getting better :( Even to the point that I am starting to look for another IDE.

-I know one jira-issue should only have ONE topic and purpose. But I have the 
feeling that php does not have much priority. And some of my previous 
reports/requests did not get any attention. So first I want to know if what I 
say below wil get any priority before taking much time to make a detailed 
report.- 
 -Sorry!!! But I am really getting disappointed on netbeans :( and desperate- 

edit: i split my post in separate issues
 * https://issues.apache.org/jira/browse/NETBEANS-4650
 * https://issues.apache.org/jira/browse/NETBEANS-4649
 * https://issues.apache.org/jira/browse/NETBEANS-4648

 My previous request for autocompletion on properties:

 

 
h3. Codecompletion with namespace, aliases and extends

 

Overwritten function seen in _*parent-class:*_

!image-2020-07-28-13-02-07-177.png|width=582,height=318!

Extend class seen in parent-class:
 !image-2020-07-28-14-43-06-810.png|width=650,height=345!

 Overwritten function in _*parent-class*_ NOT seen when using an alias for the 
namespace

   !image-2020-07-28-13-04-10-932.png|width=536,height=275!

Extend class not seen in parent-class when using an alias as namespace
 !image-2020-07-28-14-41-38-480.png|width=650,height=346!

Codecompletion working when parentclass has override-function with 
alias-namespace

!image-2020-07-28-13-10-46-227.png|width=582,height=290!

 

No codecompletion after removing the function in the parent-class

!image-2020-07-28-13-11-45-910.png|width=571,height=236!

Correct Code completion with Alias and function:

!image-2020-07-28-13-15-11-891.png|width=566,height=229!

 

 No Codecompletion with alias in childclass, alias in first-parent removed and 
function removed:

!image-2020-07-28-13-17-15-567.png|width=705,height=308!

 

While writing this issue I found the difference when having an overridden 
function or not....

some code:

  
{code:php}
namespace rh\data\listdata;
use rh\data\data\Data;
use rh\data\listdata\ListInterface;

class ListData extends Data implements ListInterface{
  public function getListIds(){
    // netbeans does not see that it is extended by 
\sales\product\record\ListRecord
  }
}
{code}
{code:php}
namespace rhAdmin\sales\product\record\ListRecord;
use rh\data\listdata\ListData;

class ListRecord extends ListData{

}
{code}
{code:php}
namespace sales\product\record;
use rhAdmin\sales\product\record\ListRecord as rhBase;

class ListRecord extends rhBase{
  public function otherTest(){
    // when start typing '$this->' the items from the parent-classes are not 
seen/shown by netbeans
  }
}

{code}
 

 

 

 

I hope someone can reproduce this or tell me what I am doing wrong.
 Sorry for my female complaints :P

Still hoping someone can help. xxxx

flexjoly

 

 

 

 


> Autocompletion in php broken? (alias and namespaces)
> ----------------------------------------------------
>
>                 Key: NETBEANS-4647
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4647
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor
>    Affects Versions: 12.0, 11.3
>            Reporter: flexJoly
>            Assignee: Junichi Yamamoto
>            Priority: Major
>         Attachments: image-2020-07-28-13-02-07-177.png, 
> image-2020-07-28-13-04-10-932.png, image-2020-07-28-13-10-46-227.png, 
> image-2020-07-28-13-11-45-910.png, image-2020-07-28-13-15-11-891.png, 
> image-2020-07-28-13-17-15-567.png, image-2020-07-28-14-41-38-480.png, 
> image-2020-07-28-14-43-06-810.png
>
>
>  
> Hi,
> For years now I am using netbeans for php and promoting it to every 
> php-programmer, mostly with success!
> But since version 8 or so, I have the feeling that php in netbeans is not 
> getting better :( Even to the point that I am starting to look for another 
> IDE.
> -I know one jira-issue should only have ONE topic and purpose. But I have the 
> feeling that php does not have much priority. And some of my previous 
> reports/requests did not get any attention. So first I want to know if what I 
> say below wil get any priority before taking much time to make a detailed 
> report.- 
>  -Sorry!!! But I am really getting disappointed on netbeans :( and desperate- 
> edit: i split my post in separate issues
>  * https://issues.apache.org/jira/browse/NETBEANS-4650
>  * https://issues.apache.org/jira/browse/NETBEANS-4649
>  * https://issues.apache.org/jira/browse/NETBEANS-4648
>  My previous request for autocompletion on properties:
> https://issues.apache.org/jira/browse/NETBEANS-3675 
>  
> h3. Codecompletion with namespace, aliases and extends
>  
> Overwritten function seen in _*parent-class:*_
> !image-2020-07-28-13-02-07-177.png|width=582,height=318!
> Extend class seen in parent-class:
>  !image-2020-07-28-14-43-06-810.png|width=650,height=345!
>  Overwritten function in _*parent-class*_ NOT seen when using an alias for 
> the namespace
>    !image-2020-07-28-13-04-10-932.png|width=536,height=275!
> Extend class not seen in parent-class when using an alias as namespace
>  !image-2020-07-28-14-41-38-480.png|width=650,height=346!
> Codecompletion working when parentclass has override-function with 
> alias-namespace
> !image-2020-07-28-13-10-46-227.png|width=582,height=290!
>  
> No codecompletion after removing the function in the parent-class
> !image-2020-07-28-13-11-45-910.png|width=571,height=236!
> Correct Code completion with Alias and function:
> !image-2020-07-28-13-15-11-891.png|width=566,height=229!
>  
>  No Codecompletion with alias in childclass, alias in first-parent removed 
> and function removed:
> !image-2020-07-28-13-17-15-567.png|width=705,height=308!
>  
> While writing this issue I found the difference when having an overridden 
> function or not....
> some code:
>   
> {code:php}
> namespace rh\data\listdata;
> use rh\data\data\Data;
> use rh\data\listdata\ListInterface;
> class ListData extends Data implements ListInterface{
>   public function getListIds(){
>     // netbeans does not see that it is extended by 
> \sales\product\record\ListRecord
>   }
> }
> {code}
> {code:php}
> namespace rhAdmin\sales\product\record\ListRecord;
> use rh\data\listdata\ListData;
> class ListRecord extends ListData{
> }
> {code}
> {code:php}
> namespace sales\product\record;
> use rhAdmin\sales\product\record\ListRecord as rhBase;
> class ListRecord extends rhBase{
>   public function otherTest(){
>     // when start typing '$this->' the items from the parent-classes are not 
> seen/shown by netbeans
>   }
> }
> {code}
>  
>  
>  
>  
> I hope someone can reproduce this or tell me what I am doing wrong.
>  Sorry for my female complaints :P
> Still hoping someone can help. xxxx
> flexjoly
>  
>  
>  
>  



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

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

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

Reply via email to