You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/13 02:10:05 UTC

[GitHub] [netbeans] the-liquid-metal opened a new issue, #5102: [PHP] Enum is missing autocompletion "name" item for instance context

the-liquid-metal opened a new issue, #5102:
URL: https://github.com/apache/netbeans/issues/5102

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   Enum has builtin readonly property: ```name``` and ```value```. Unfortunately, ```name``` is missing in autocomplete, specifically in instance context.
   
   ### How to reproduce
   
   ```php
   <?php
   enum Suit: string {
     case Hearts = 'H';
     case Diamonds = 'D';
     case Clubs = 'C';
     case Spades = 'S';
   }
   
   echo Suit::Hearts->value . "\n"; // OK
   echo Suit::Hearts->name  . "\n"; // MISSING
   
   $card = Suit::Diamonds;
   echo $card->value . "\n"; // OK
   echo $card->name  . "\n"; // MISSING
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   Java: 14.0.1; Java HotSpot(TM) 64-Bit Server VM 14.0.1+7 Runtime: Java(TM) SE Runtime Environment 14.0.1+7
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
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


[GitHub] [netbeans] KacerCZ commented on issue #5102: [PHP] Enum is missing autocompletion "name" item for instance context

Posted by GitBox <gi...@apache.org>.
KacerCZ commented on issue #5102:
URL: https://github.com/apache/netbeans/issues/5102#issuecomment-1383095677

   Reproducible.
   Thanks for your report.


-- 
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


[GitHub] [netbeans] KacerCZ closed issue #5102: [PHP] Enum is missing autocompletion "name" item for instance context

Posted by GitBox <gi...@apache.org>.
KacerCZ closed issue #5102: [PHP] Enum is missing autocompletion "name" item for instance context
URL: https://github.com/apache/netbeans/issues/5102


-- 
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


[GitHub] [netbeans] KacerCZ commented on issue #5102: [PHP] Enum is missing autocompletion "name" item for instance context

Posted by GitBox <gi...@apache.org>.
KacerCZ commented on issue #5102:
URL: https://github.com/apache/netbeans/issues/5102#issuecomment-1383597501

   PR #4966 fixes this issue.


-- 
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