在Eclipse中,我们一般使用Ctrl+Shift+F来格式化代码,Android Studio中需要换成:

 

Reformat code CTRL + ALT + L (Win)
OPTION + CMD + L (Mac)

相关文章:

  • 2021-11-03
  • 2022-02-22
  • 2021-12-09
  • 2021-05-23
  • 2021-11-14
  • 2021-07-22
猜你喜欢
  • 2021-11-27
  • 2023-01-17
  • 2022-01-18
  • 2021-05-26
  • 2021-04-15
  • 2021-05-24
  • 2021-12-30
相关资源
相似解决方案