查找并替换Android Studio [英] Find and replace Android studio
问题描述
有没有一种方法可以在整个项目中查找并替换所有出现的单词(不仅是使用重构的单个类->重命名),而且还可以在android studio中或使用命令行脚本来保持大小写?>
例如,供应商必须去供应商的商人->供应商的商人->商户.我的老板要我更改正在进行的项目的所有供应商实例.我已经做了大约一个小时,我知道我在浪费时间.让我知道任何节省时间的建议.
我认为您正在寻找的快捷方式是:
在Windows和Linux/Ubuntu上Ctrl + Shift + R
在Mac OS X上Cmd + Shift + R
ref:来源
Is there a way to find and replace all occurrences of a word in an entire project( not just a single class using refactor -> rename) and also maintain case, either in android studio or using a command line script?
For example, Supplier has to go to Merchant, supplier -> merchant, SUPPLIER -> MERCHANT. My boss wants me to change all instances of supplier with merchant for a project im working on. Ive been doing it for about an hour and i know im wasting my time. Let me know of any time saving suggestions.
I think the shortcut that you're looking for is:
Ctrl+Shift+R on Windows and Linux/Ubuntu
Cmd+Shift+R on Mac OS X
ref: source
这篇关于查找并替换Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!