Global settings vs project settings
https://www.jetbrains.com/help/idea/configuring-project-and-ide-settings.html#restore-defaults
Global settings
- Settings that are NOT marked with the square icon in the Settings dialog are global and apply to all existing projects of the current IntelliJ IDEA version
Project settings
- Useful project settings we can copy to new projects
inspectionProfiles/Project_Default.xml: Code inspection settings
- Ex: eslint warnings enabled
eslint.xml
prettier.xml
vcs.xml: Tells IntelliJ this project uses Git
Default settings for new projects
- Look for IntelliJ configuration folder (depending on the OS)
- Check out this file
project.default.xml
How to see changed settings
https://stackoverflow.com/questions/75774116/how-to-see-changed-settings-in-intellij-idea
- Open the configuration directory of IntelliJ
- Go to the directory
settingsSync
- Look at the git commits of it
Auto reload Java projects
- To auto-reload a project
- Tick option “Build project automatically”
- Tick option “Allow auto-make to start even developed application is currently running”
- We can also run “Rebuild Project” to help tick these options for us
Windows Defender exclusion