在 IntelliJ IDEA 中,可以通过以下几个步骤来避免每次重启时索引:

打开 File -> Settings 菜单。在左侧的菜单栏中选择

“Appearance & Behavior” -> “System Settings” -> “Synchronization”。

在右侧的面板中,将 “Synchronize files on frame or editor tab activation” 选项设置为 “False”。

file

最后修改日期: 2024年2月22日

留言

撰写回覆或留言