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

[jira] [Commented] (NETBEANS-4647) Autocompletion etc in php broken? And so slowwww

    [ https://issues.apache.org/jira/browse/NETBEANS-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166367#comment-17166367 ] 

Junichi Yamamoto commented on NETBEANS-4647:
--------------------------------------------

Could you please submit your issues one by one? (Please don't add multiple issue to one ticket.)

Could you please write not only screenshots but also example code with exact steps to reproduce your issue?

Thanks!

> Autocompletion etc in php broken? And so slowwww
> ------------------------------------------------
>
>                 Key: NETBEANS-4647
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4647
>             Project: NetBeans
>          Issue Type: Bug
>          Components: cnd - Code Completion, editor - Completion &amp; Templates, 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-13-21-36-907.png, image-2020-07-28-13-22-37-962.png, image-2020-07-28-13-24-10-223.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 
> h3. Slow
> It is getting slower and slower. At least after a installing a new version of netbeans. Then scanning the projects can go on for more then an hour, slowing down the editor. 
> *Pulling in git* takes soooo much time in netbeans. It looks like it is reading/checking the whole branche again. When I need a quicker pull... I open the git-client, and do the pulling there and then synchronizing the branche in netbeans. Then netbeans is ready real quick. It is really annyoing and not-logic that pulling by netbeans takes much more time (sometimes more then a minute) then with my workaround.
>  Also it can take 1 or more minutes before a changed file comes up in the git-show-changes.... So I always select the file(s) and right-click to commit which mostly works faster.
> *Plain php-html template*
> My trigger to try if reporting will help is: codecompletion for a plain php-html template. We normally use Smarty. But we are exploring of having our own template engine (togeter with smarty for now)
> So I made a file: *orderlist.tpl.php*
> That works ok. But I tried to make a code-template: for '<?= ${cursor}; ?>' . I tried to put it in: php, html, plain text etc.
>  Should be easy.... and it is. But really.... it WON'T show up in the code.
> I tried .phtml and other extensions. Tried to change the file-type in the options to: text/x-php, html, template etc....
> See: [https://netbeans.apache.org/kb/docs/php/code-templates.html#_use_case_inserting_php_into_html]
>  I cannot get this to work....
> In utter desperation I made my first macro in netbeans (never needed it before) and that works very nice (should have done this before :D) but every macro needs an shorcut to work..... pppfff
> ----
> Below 2 other issues with details.
> 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!
>  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!
> Codecompletion working whenparentclass 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!
> Code completion with Alias and function:
> !image-2020-07-28-13-15-11-891.png|width=566,height=229!
>  
>  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....
> h3. Codecompletion on traits
> trait found:
> !image-2020-07-28-13-21-36-907.png|width=405,height=301!
> Trait not found in use list: (this part needs a fix I think)
> !image-2020-07-28-13-22-37-962.png|width=427,height=232!
>  trait recognized in uselist and inside class
> !image-2020-07-28-13-24-10-223.png!
>  
> 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-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