Просмотр исходного кода

Mention loading/unloading modules in IntelliJ (#9810)

Phil Clay 1 год назад
Родитель
Сommit
431c544714
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      docs/contributing/intellij-setup-and-troubleshooting.md

+ 12 - 0
docs/contributing/intellij-setup-and-troubleshooting.md

@@ -19,6 +19,18 @@ Configuration:
 Note: If google-java-format generates errors in Intellij,
 see <https://github.com/google/google-java-format/issues/787#issuecomment-1200762464>.
 
+## Load/Unload Modules
+
+This project has many modules, which have many dependencies.
+Therefore, IntelliJ indexes a lot and consumes a lot of CPU/memory resources.
+
+To minimize IntelliJ's indexing and resource utilization,
+[unload any modules](https://www.jetbrains.com/help/idea/unloading-modules.html)
+on which you are not actively working.
+
+Specifically, unload all modules, and then selectively load the modules on which you need to work.
+IntelliJ will prompt you to load additional modules on which the selected modules depend.
+
 ## Troubleshooting
 
 Occasionally, Intellij gets confused, maybe due to the number of modules in this project,