Android Studio Tips and Tricks

Android Studio Tips and Tricks,第1张

概述原文链接:http://www.cnblogs.com/ZacharyHodgeZou/p/4555200.htmlAndroidStudioDeleteModule1.选中Module右击,选择 OpenModuleSettings,打开ProjectStructure窗空。(或者选中Module,按F4打开Project Structure窗口)2.选中要移除的Module,点击“- 原文链接:http://www.cnblogs.com/ZacharyHodgeZou/p/4555200.html

AndroID Studio Delete Module

1.选中Module右击,选择 Open Module Settings,打开Project Structure 窗空。(或者选中Module,按F4打开Project Structure窗口)

2.选中要移除的Module,点击 “-”  Remove Module,然后点击OK。

3.再次选中Module右击,就会出现Delete *** 作,点击Delete移除Module。(或者选中Module按Delete键)

Make Project vs  Rebuild Project

The Build > Make Project option compiles all the source files in the entire project that have been modifIEd since the last compilation.

The Build > Rebuild Project option recomplIEs all the source files in the project.

Compile <compilation_scope>. All the source files in the specifIEd scope are compiled. The scope in this case may be a file, a package, etc.Make Project. All the source files in the entire project that have been modifIEd since the last compilation are compiled. Dependent source files, if appropriate, are also compiled. Additionally, the tasks tIEd to the compilation or make process on modifIEd sources are performed. For example, EJB valIDation is performed if the corresponding option is enabled on the Validation page.Make Module. Compiled are all the source files that have been modifIEd since the last compilation in the selected module as well as in all the modules it depends on recursively.Rebuild Project. All the source files in the project are recompiled. This may be necessary when the classpath entrIEs have changed, for example, SDKs or librarIEs being used added, removed or altered.

 

Content Assist    Class name Completion

Alt+/                 Ctrl+Alt+Space  

 

4.Delete line   copy line

CTRL + Y  CTRL + D (Win)

CMD + Backspace CMD + D(Mac)

 

alt + f7 = find usage

ctrl + q = quick documentation

shift + f6 = refactor

ctrl + o = overIDe

ctrl + i = implement

ctrl + space = code completion

ctrl + shift + space = smarttype

ctrl + w = select word

alt + ins = generete code (getter, setter, constructor

ctrl + alt + l = reformat code

ctrl + y = delete line

ctrl + alt + t = surround with

alt + shift + up / down = move line up / down

ctrl + d = copy line

ctrl + h = Type HIErarchy

command+F12 = file Structure

psvm = public static voID main

sout = System.out.println

转载于:https://www.cnblogs.com/ZacharyHodgeZou/p/4555200.HTML

总结

以上是内存溢出为你收集整理的Android Studio Tips and Tricks全部内容,希望文章能够帮你解决Android Studio Tips and Tricks所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1115886.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存