You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "lbnnbs (via GitHub)" <gi...@apache.org> on 2024/01/03 03:39:08 UTC

[I] Code completion error when function name is Type() [netbeans]

lbnnbs opened a new issue, #6909:
URL: https://github.com/apache/netbeans/issues/6909

   ### Apache NetBeans version
   
   Apache NetBeans 20
   
   ### What happened
   
   ![1](https://github.com/apache/netbeans/assets/65210850/1a1ccf4b-285b-4f84-9d5d-bd9c1fc0aec2)
   ![2](https://github.com/apache/netbeans/assets/65210850/964728a7-b5f9-4b1f-b4ef-63b641a67006)
   
   code completion is always return self.
   
   ### Language / Project Type / NetBeans Component
   
   PHP project
   
   ### How to reproduce
   
   name a function as Type()
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   JDK21
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Code completion error when function name is Type() [netbeans]

Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #6909:
URL: https://github.com/apache/netbeans/issues/6909#issuecomment-1876246728

   Reproducible. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Code completion error when function name is Type() [netbeans]

Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 closed issue #6909: Code completion error when function name is Type()
URL: https://github.com/apache/netbeans/issues/6909


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Code completion error when function name is Type() [netbeans]

Posted by "lbnnbs (via GitHub)" <gi...@apache.org>.
lbnnbs commented on issue #6909:
URL: https://github.com/apache/netbeans/issues/6909#issuecomment-1876211925

   `<?php
   
   /**
    * Test
    *
    * @author Administrator
    */
   class Test {
       
       /**
        * 
        * @return int
        */
       public function Type() {
           return 0;
       }
       
       public function aaa() {
           // code completion make mistake hear
           $this->Type()->
       }
   }
   `
   
   ![微信截图_20240104100442](https://github.com/apache/netbeans/assets/65210850/c7c66658-8509-4862-931b-0c6235ae1a67)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Code completion error when function name is Type() [netbeans]

Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #6909:
URL: https://github.com/apache/netbeans/issues/6909#issuecomment-1874872743

   Please write an whole example code to reproduce it. (not only images)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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