Regarding the formatting settings, the official website says that the path is: File > Settings > Editor > Code Style
. This is also said on the Internet. However, my Android Studio was not found. Search nor.
Formatting instructions from the official website: https://developer.android.com/studio/intro/index.html?hl=zh-cn
Version:
Configuration page:
I found it. When I was about to close the webpage after get off work, I accidentally glanced at the official website mentioned above:
https://developer.android.com/studio/intro/index.html?hl=zh-cn
Mac operations are entered from Preferences. Finally, I discovered that you can’t see it by clicking on the robot icon. There was no problem using Windows before...
Jietu20170609-181522_2x.png
ps: Thank you everyone for your answers.
Your AS is newly installed. Some settings need to be opened after opening a project. You can create a new project and open it and enter the settings to see if there are any, or search directly in the search box, or in the project Use shortcut keys
cmd + shift + a
Searchcode style
You should be using a fake one. I have the Windows version, which is also version 2.3.2.
There is a Search box above, search for style, or to make it simpler, search one by one.
If you really can’t find it, return it to Windows.