Mac下Android Studio的idea.properties文件位置查询(补丁超限场景)
Mac系统下IntelliJ IDEA的idea.properties文件位置
针对不同的IntelliJ IDEA安装方式,idea.properties文件的位置如下:
官方DMG安装版
默认路径为:/Applications/IntelliJ IDEA.app/Contents/bin/idea.properties修改该文件需要管理员权限,可通过终端执行命令打开编辑:
sudo nano /Applications/IntelliJ IDEA.app/Contents/bin/idea.propertiesJetBrains Toolbox安装版
文件位于用户Library目录下的JetBrains专属文件夹中,路径格式为:~/Library/Application Support/JetBrains/IntelliJIdea<版本号>/idea.properties比如2023.3版本的具体路径示例:
~/Library/Application Support/JetBrains/IntelliJIdea2023.3/idea.properties自定义安装位置
若你手动指定了安装目录,找到对应的IntelliJ IDEA.app包,进入Contents/bin子目录即可找到该文件。
修改提示
找到idea.max.vcs.loaded.size.kb属性,将默认值(通常为20480,对应20MB)调整为更大的数值,例如51200(对应50MB),保存文件后重启IntelliJ IDEA即可生效。
内容的提问来源于stack exchange,提问作者WISHY
相关产品推荐
相关产品推荐

