We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache NetBeans 16
Enum has builtin readonly property: name and value. Unfortunately, name is missing in autocomplete, specifically in instance context.
name
value
<?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
No / Don't know
Windows 10
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 provided installer
No response
No
Yes
The text was updated successfully, but these errors were encountered:
Reproducible. Thanks for your report.
Sorry, something went wrong.
PR #4966 fixes this issue.
No branches or pull requests
Apache NetBeans version
Apache NetBeans 16
What happened
Enum has builtin readonly property:
name
andvalue
. Unfortunately,name
is missing in autocomplete, specifically in instance context.How to reproduce
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
The text was updated successfully, but these errors were encountered: