[ https://issues.apache.org/jira/browse/NETBEANS-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomáš Procházka closed NETBEANS-4604. ------------------------------------- > 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: 1.5h > 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: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists