Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android Studio好用的技巧

快捷键

  1. Cmd+Y 查看定义
  2. Cmd+U 查看并定位到父类
  3. Cmd+P 查看参数信息
  4. Cmd+Shift+E 最近修改的文件
  5. Cmd+E 最近访问的文件
  6. Alt+上/下 扩大/缩小选区
  7. Cmd+F12 文件结构弹窗

编码技巧

  1. 列选择/块选择: 按住Alt,然后拖动鼠标选择。
  2. 语句补全: Cmd + Shift + Enter(OS X)
  3. 提取方法: Cmd + Alt + M(OS X)
  4. 提取参数: Cmd + Alt + P(OS X)
  5. 内容(反提取): Cmd + Alt + N(OS X)
  6. 合并行和文本: Ctrl + Shift + J
  7. 动态模板: Cmd + J
  8. 重命名: Shift + F6
  9. 包裹代码: Cmd + Alt + T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.