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: | [67cat] refactoring code (Encapsulate Fields) disbled | ||
---|---|---|---|
Product: | java | Reporter: | vladimircs <vladimircs> |
Component: | Refactoring | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dstrupl, mmirilovic |
Priority: | P2 | Keywords: | RANDOM |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screen trying to encapsulate |
Description
vladimircs
2009-04-02 17:37:00 UTC
Created attachment 79304 [details]
screen trying to encapsulate
I am working on PHP projects and I find this issue happens sporadically as well. For example, I've been editing PHP files all day today and for the first several hours I was able to refactor to rename variables within a class method. Now, an hour or so later since I last tried and it worked, the refactor menu items are now disabled and I can't refactor a variable anymore. I've actually noticed this problem over the last 4-5 builds that I've been testing for the last 2 weeks. Not sure if the problem existed before that, but I don't recall this ever being a problem in nb 6.5. Product Version: NetBeans IDE Dev (Build 200903310200) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) This is not P1 issue IMHO. I am not able to reproduce it with netbeans-trunk-nightly-200904020200 but with my build 090401. I will investigate. Integrated into 'main-golden', will be available in build *200904091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f49306ff0fba User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #161795: update menu items to reflect their Action.isEnabled when synchronizing refactoring menu *** Issue 162519 has been marked as a duplicate of this issue. *** reproducible in NB Dev (200904140200) I can reproduce it only with the context menu. As a workaround it should help to open the Refactoring main menu to refresh actions. I will have a look at it. *** Issue 162815 has been marked as a duplicate of this issue. *** Integrated into 'main-golden', will be available in build *200904161401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3aa4537ec166 User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #161795: update menu items to reflect their Action.isEnabled even for popup menu |