Emacs重命名变量 [英] Emacs Rename Variable

查看:129
本文介绍了Emacs重命名变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在emacs中重命名变量? Eclipse有一个整洁的重命名重构操作,可以让您以一个范围感知的方式重命名一个变量,这可以比使用本地化替换字符串更容易使用,特别是如果变量名称是像e这样的字符。 emacs是否具有内置的类似功能?

How do I rename a variable in emacs? Eclipse has a neat "rename" refactoring action which lets you rename a variable in a scoping-aware way, which can be much easier to use than doing localized replace-strings, especially if the variable name is a character like e. Does emacs have a similar functionality built in?

推荐答案

iedit 是为这种事情而制作的。

iedit was made for this kind of thing.

这篇关于Emacs重命名变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆