使用Wing IDE重命名对象

2024-05-17 13:06:46 发布

您现在位置:Python中文网/ 问答频道 /正文

我只是从Eclipse过渡到Wing IDE来编写Python代码。在Eclipse中,我可以选择“重命名”对象。我可以使用代码中定义的任何对象,它可以是变量、函数、方法或其他任何东西,我可以在引用它的所有文件中自动重命名它。在

Wing IDE中有类似的功能吗?在


Tags: 文件对象方法函数代码功能定义ide
2条回答

重构是since 2002所要求的功能,但即便如此,答案已经是:

search and replace

BTW, one somewhat related thing we're doing is adding better global replace. [...] This isn't informed by source analysis but it's still a useful tool for some kinds of refactoring (like renaming poorly named variables or classes).

因此,他们的高级搜索,即使基于regex,仍然是这个3.1.8wing IDE的重构:作为said in 2007,3.0、3.1版本的重点是调试,尽管:

Refactoring is in our plans for future releases.

(但对于upcoming 3.2还没有,似乎是:请看这里的full CHANGELOG

alt text
(来源:wingware.com

Winged4现在支持重构。在

相关问题 更多 >