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.

Bug 223430 - Make refactor:move able to move function as methods and variables as class members
Summary: Make refactor:move able to move function as methods and variables as class me...
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Windows 8 x64
: P3 normal with 2 votes (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 16:51 UTC by tasso85
Modified: 2013-02-28 12:45 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tasso85 2012-12-06 16:51:59 UTC
I think it would be very useful if the editor was capable of moving plain functions making them class methods of already existent classes, and the same for plain variables.

This would help those like me who are trying to migrate their PHP applications to a full OOP paradigm, but when trying to refactor:move a function it just says "the move refactoring cannot be applied in this context"