This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Surround with - for ->get and ->set methods | ||
---|---|---|---|
Product: | php | Reporter: | danilchenko_anton <danilchenko_anton> |
Component: | Code | Assignee: | issues@php <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | tmysik |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
danilchenko_anton
2009-08-02 14:46:40 UTC
you probably mean assign variable hint that is already implemented already. Not remember in what release was this introduced. Anyway, I'm sure it's in 6.8 development build, available on http://bertram.netbeans.org/hudson/job/PHP-build/, What about not offering "assign variable" on functions starting with set, this should be a subject of discussion. You're right that it shouldn't be a function that returns something but well ... it still can return boolean function at least, so you know if set is true or false. => reassigning to responsible developer. assign variable hint was implemented for 6.7 as a line warning (no selection needed). Just put cursor on the line like this for example ("|" means cursor): $controllerObj->get|Layout(); This approach I found sufficient for most of usecases and probably also faster for use, on the other hand there could be also variant based on selection. batch reassigning |