[
https://issues.apache.org/jira/browse/NETBEANS-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomáš Procházka resolved NETBEANS-4604.
---------------------------------------
Fix Version/s: 12.1
Resolution: Implemented
PR was merged.
> PHP - instant rename of private constant
> ----------------------------------------
>
> Key: NETBEANS-4604
> URL: https://issues.apache.org/jira/browse/NETBEANS-4604
> Project: NetBeans
> Issue Type: Improvement
> Components: php - Editor
> Affects Versions: 12.0
> Reporter: Tomáš Procházka
> Assignee: Tomáš Procházka
> Priority: Minor
> Labels: pull-request-available
> Fix For: 12.1
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> NetBeans can rename local variables and private fields and methods by
> selecting it and Ctrl-R and editing the name.
> Same function is not supported for private class constants.
> Pressing Ctrl-R always displays rename dialog.
> Example code:
> {code:php}
> class PrivateConstant {
> private const PATH = '/';
> private $field;
> private function getField() {
> return $this->field;
> }
> function getPath(): string {
> return self::PATH;
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists