Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 150338 - [65cat] Editor rename message doesn't hide on valid rename
[65cat] Editor rename message doesn't hide on valid rename
Product: python
Classification: Unclassified
Component: Editor
All All
: P4 (vote)
Assigned To: Torbjorn Norbye
Depends on:
  Show dependency treegraph
Reported: 2008-10-16 08:56 UTC by rajivderas
Modified: 2017-06-22 18:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

screen shot (107.91 KB, image/png)
2008-10-16 08:57 UTC, rajivderas

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-10-16 08:56:51 UTC
1) Create a py project and paste the following code block

def update(self, event):
        context = {}
        exec self.execentry.text in context
        each = compile(self.evalentry.text, '<input>', 'eval')
        numbers = [0]*self.numelements
        for x in xrange(self.numelements):
            context['x'] = float(x)
            numbers[x] = eval(each, context) = numbers
        if == 'Line':

2) Double click on the 'Line'(line 10) code and right click and select rename and it will display an error message on 
bottom of the editor saying "cannot perform rename here" in red
3) Now double click the "each" variable in line 4 and right clik and select rename it will allow you to rename but 
still that error message is displayed at the bottom of the editor

see the attached acreen shot. using build 62.
Comment 1 rajivderas 2008-10-16 08:57:50 UTC
Created attachment 71941 [details]
screen shot
Comment 2 Jenselme 2017-06-22 17:53:03 UTC
Renames are still not supported in all context. We have plans to improve this and all refactoring. Closing this as old bug. No need to migrate this any where and leave it open.
Comment 3 Jiri Kovalsky 2017-06-22 18:04:49 UTC
Thanks for your evaluation Julien. Closing then.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo