-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
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
Autocompletion for PHP Attributes #4300
Labels
Milestone
Comments
SebNetbeans
added
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
labels
Jun 30, 2022
KacerCZ
added
PHP
[ci] enable extra PHP tests (php/php.editor)
kind:feature
A feature request
and removed
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
labels
Jun 30, 2022
NetBeans currently does not support code completion. |
I ve reported a bug couple of days ago about auto-compelete crushes |
junichi11
added a commit
to junichi11/netbeans
that referenced
this issue
Jan 8, 2024
- apache#4300 - https://wiki.php.net/rfc/attributes_v2 - https://wiki.php.net/rfc/shorter_attribute_syntax - https://wiki.php.net/rfc/shorter_attribute_syntax_change - Fix the code completion feature - Index classess marked as the Attribute(`#[\Attribute]`) - Add/Fix unit tests for the indexer and the code completion - Increment the spec version Note: The following case is not fixed yet. ```php #[MyAttr(self::^CONST1)] // don't work here yet class Example { public const CONST1 = 1; } ```
junichi11
added a commit
to junichi11/netbeans
that referenced
this issue
Jan 9, 2024
- apache#4300 - https://wiki.php.net/rfc/attributes_v2 - https://wiki.php.net/rfc/shorter_attribute_syntax - https://wiki.php.net/rfc/shorter_attribute_syntax_change - Fix the code completion feature - Index classess marked as the Attribute(`#[\Attribute]`) - Add/Fix unit tests for the indexer and the code completion - Increment the spec version Note: The following case is not fixed yet. ```php #[MyAttr(self::^CONST1)] // don't work here yet class Example { public const CONST1 = 1; } ```
Great news. Thank you :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Apache NetBeans version
Apache NetBeans 14
What happened
Hello,
Just a simple question. Is it possible to activate autocompletion for
PHP Attributes in Netbeans 14 ?
For an attribute like this :
And use it like this :
I didn't find any documentation on this trick.
Thank you !
Sébastien
How to reproduce
Not test in an earlier version
Did this work correctly in an earlier version?
No
Operating System
Linux Ubuntu
JDK
OpenJDK 64-Bit Server VM 17.0.3
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: