记一次Android Studio 的一些配置

1,首先可以下载一个主题

Android studio themes地址,我用的是系统的Darcula,感觉还ojbk

2,下载一些Android  studio插件

我以前写过的一篇博客有,地址是https://blog.csdn.net/qq_35131574/article/details/82703589

3,Android studio使用eclipse的快捷键

File | Settings | Keymap

3,代码字体修改

File | Settings | Editor | Color Scheme | Console Font

 4,关闭更新

File | Settings | Appearance & Behavior | System Settings | Updates,勾选Automatically check updates for

5,添加api文档悬浮提示

File | Settings | Editor | General ,勾选show quick documentstion on mouse move

6,配置代码的自动提示

File | Settings | Editor | General | Code Completion  勾选Auto-display code completion

7,配置代码提示的大小写区分

File | Settings | Editor | General | Code Completion  Case sensitive completion:选None

8,设置自动导包

File | Settings | Editor | General | Auto Import 勾选1,Add unambiguous imports on the fly
2,Optimize imports on the fly (for current project)

9,显示代码行数

File | Settings | Editor | General | Appearance  勾选Show line numbers

10,禁止代码折叠

File | Settings | Editor | General | Code Folding  去掉勾选 One-line methods   "Closures"(anonymous classes implementing one method,before Java 8)
Generic constructor and method parameters

11,修改注释位置,禁用“语句堆一行”

File | Settings | Editor | Code Style | Java |Wrapping and Braces  去掉勾选Comment at frist column    Control statement in one lin

12,修改新建文件文件头

File | Settings | Editor | File and Code Templates|includes|File Header

13,修改文件编码为UTF-8

File | Settings | Editor | File Encodings  Default encoding for properties files:改成UTF-8

14,动画显示设置

File | Settings | Appearance & Behavior | Appearance 去掉勾选Animate windows

15,代码长度提示

Settings – Editor – Appearance ,勾选 Show right margin (configured in Code Style options) 

16,方法分隔符显示

Settings – Editor – Appearance ,勾选 Show method separators 

17,字体颜色设置

File | Settings | Editor | Color Scheme | Android Logcat,比如Logcat。

18,对齐成员变量名

File | Settings | Editor | Code Style | Java |Wrapping and Braces |Group declarations|Align fields in columns

19,修改成员变量前后缀

File | Settings | Editor | Code Style | Java|Code Generation

20,自己定义Live Templates

自定义快捷打出来的

21,插件设置

禁用

CVS Integration : CVS 版本控制系统。

Google Cloud Tools For Android Studio : Google云。

Google Login : Google账号登录。

hg4idea : Mercurial 版本控制系统。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值