How to save and restore Android Studio user interf

2019-03-17 22:00发布

Android Studio allows the user to customize certain features, such as editor settings and coding styles. On Windows boxes, the default folder for these settings appears to be C:\Users\{username}\.AndroidStudio{version}\config. I'm looking for documentation for these files so that we can decide which files should be under version control.

The goals are: 1) to have consistent UI settings for a group of developers; and 2) to have an easy way to configure a new Android Studio install.

So far, the following files look interesting:


...\config\templates\user.xml               User-defined code templates
...\config\options\editor.codeinsight.xml   Editor settings & code insight
...\config\options\editor.xml               Editor settings
...\config\options\cachedDictionary.xml     User additions to spelling dictionary.
...\config\codestyles\Default_1_.xml        Code formatting

1条回答
欢心
2楼-- · 2019-03-17 22:30

You can go file > Export settings then you get to choose exactly the settings to export and you get a single settings.jar file.

The reverse process is file > Import Settings > choose settings.jar

enter image description here

查看更多
登录 后发表回答