eclipse+pydev how to rename module?
I'm using eclipse + pydev. I want to refactor and change the name of my module. I clicked on my module in the package explorer, but no refactoring (other than 'rename') in the context menu. Similarly, the refactoring on the top navigation menu is greyed out.
So how do i change my module name and have it re开发者_如何学Pythonflected across my project.?
This feature is still not properly integrated in the pydev package explorer, so, for now, you have to find a place that uses the module you want in the code and rename that reference in the editor (you don't need to report that as a bug as that's already known and should be fixed soon).
Did you try rename? it seems to work in other language plugins.(make sure to right click on the module)
精彩评论