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 90940 - Context sensitive refactorings
Summary: Context sensitive refactorings
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2006-12-12 11:30 UTC by belur_1d
Modified: 2008-10-16 16:41 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 belur_1d 2006-12-12 11:30:30 UTC
Right now it doesnt matter if user clicks on a method or some blank space
in editor, Netbeans always shows the same refectoring options.

Please add some "intelligence" to the editor here.
Refactoring options shud be shown depending on where user has clicked

1> Class Level
2> Method Level
3> Variable Level
4> Some Blank space in editor(Not sure what to add here..not applicable i think)
5> Others as the netbeans team feels appropraite
Comment 1 Jan Becicka 2006-12-18 19:10:17 UTC
This is how it works now.
Comment 2 Jiri Prox 2008-04-11 01:47:51 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 3 Jan Pokorsky 2008-10-16 16:41:51 UTC
It is possible to apply only simple logic due to performance purposes. Some checks are too complex not to hurt UI
responsiveness when creating the context menu. It is the reason why they are postponed to the refactoring dialog.