window 配置文件位置
C:\Users\XXX\.IntelliJIdeaxxx\config\fileTemplates 是自定义的文件模版templates 是自定义的代码模版plugins是插件文件夹
同步的时候同步这几个就够了。keymaps是自定义的快捷键,如果有很多自定义快捷键的话,可以同步此文件夹
快捷键 windows 和mac 是不通用的
mac配置文件地址位置
~/Library/Preferences/IntelliJIdea2017.2/这里面包含了 fileTemplates templates等配置文件信息~/Library/Application\ Support/IntelliJIdea2017.2/这里面包含了插件信息~/Library/Logs/IntelliJIdea.../日志信息~/Library/Caches/IntelliJIdea... 缓存信息
配置文件同步
将需要同步的配置文件放到自己的Git上,一处配置,处处使用。
mac 拷贝配置文件脚本
icopy.shcp -rf config/fileTemplates/* ~/Library/Preferences/IntelliJIdea2017.2/fileTemplates/ cp -rf config/templates/* ~/Library/Preferences/IntelliJIdea2017.2/templates/ cp -rf config/plugins/* ~/Library/Application\ Support/IntelliJIdea2017.2/
链接:https://www.jianshu.com/p/aa8be4adf05a
本文详细介绍了IntelliJ IDEA在Windows和Mac系统下的配置文件位置,包括自定义文件模版、代码模版、插件及快捷键设置。通过将这些配置文件同步到Git,实现跨设备的一致开发体验。
2368

被折叠的 条评论
为什么被折叠?



