如何导入代码样式到Windows 10中的android studio [英] how to import code style to android studio in windows 10

查看:189
本文介绍了如何导入代码样式到Windows 10中的android studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了自己的代码风格@ home,并希望将其用于办公电脑中的所有项目。但我可以打开 CodeStyleSettings .idea 文件夹中的项目,并替换代码样式。我以代码样式中的管理按钮导出代码样式,并导出为xml。

I have created my own code style @ home and want to use it for all projects in office PC. but i can just open CodeStyleSettings from .idea folder of my project and replace the code style. I exported my code style with Manage button in code style and export as xml.

我想更改或导入Android工作室代码样式。

I want to change or import Android studio code style. I googled but can not find a solution.

推荐答案

在家中导出:

文件>导出设置>选择要导出的设置

Export at home:
File > Export Settings > Select which settings you want to export

在其他位置导入:

文件>导入设置>浏览到导出的文件

Import anywhere else:
File > Import Settings > Browse to the exported file

这篇关于如何导入代码样式到Windows 10中的android studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆