简体   繁体   English

Android Studio 中应用程序、项目、模块等的所有不同名称是什么

[英]What are all the different names for apps, projects, modules etc in Android Studio

Changing names in Android Studio is a nightmare, particularly as it seems to use a number of different names.在 Android Studio 中更改名称是一场噩梦,尤其是因为它似乎使用了许多不同的名称。 I think I worked out how to change most of them, but what is this (see yellow highlighting on screenshot attached) and how do I change it?我想我想出了如何改变其中的大部分,但这是什么(见所附屏幕截图上的黄色突出显示)以及如何改变它?

突出显示问题的屏幕截图

for your problem with names, if you want to change a name of a file/variable in all of the places that it was mentioned in you should use the refractor.对于你的名字问题,如果你想在所有提到的地方更改文件/变量的名称,你应该使用折射器。

  1. right click on whatever you're changing its name.右键单击您要更改其名称的任何内容。
  2. refractor .折射镜
  3. rename/rename file .重命名/重命名文件
  4. it will ask you for the new name and whether you want to change it everywhere (even in comments if you want) or not.它会询问您新名称以及是否要在所有地方更改它(如果您愿意,甚至可以在评论中更改)。
  5. choose what you see fit and click refractor , he will then check where it exists and ask for confirmation on all the place he found what you're changing name and if you're 100% sure to change its name there.选择您认为合适的并单击refractor ,然后他将检查它存在的位置并要求确认他发现您要更改名称的所有地方以及您是否 100% 确定要在那里更改其名称。

warning : sometimes refractor operations are non reversible so you should double check before clicking do refractor .警告:有时 refractor 操作是不可逆的,因此您应该在单击do refractor之前仔细检查。

as for the name up there its called project name and you can change it as instructed here至于上面的名称,它称为项目名称,您可以按照此处的说明进行更改

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM