Problem Description:
Long/repetitive scanning files to index
Scanning files to index: scan files to index
Method 1: File -> Invalidate Caches/Restart
Method 2: delete the C:\users\XXX.Intellijidea2018.2\system folder
Method 3: exclude the scanned folder from the scope of indexing, that is, mark the XXX folder as excluded.
Method 4: change the edit configurations and idea configuration path
1. After scanning for a long time, click Edit configurations and change update classes and resources to do nothing.
2. You will find that the scanning time is very short, but the scanning will be repeated all the time
3. Change the idea configuration path or directly note out three lines of comments to achieve the purpose of refreshing
xx\bin\idea.properties
idea.config.path=D:\Java\idea\IntelliJ IDEA 2018.2.4\01edit\config
idea.system.path=D:\Java\idea\IntelliJ IDEA 2018.2.4\01edit\system
idea.plugins.path=D:\Java\idea\IntelliJ IDEA 2018.2.4\01edit\plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.config.path=${user.home}/.IntelliJIdea/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.IntelliJIdea/system
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
Process:
Restart the idea, reinstall the idea, shut down and restart, and kill the idea process
The problem of reloading the code is the same, so it must be a configuration problem
Deleting the configuration file is not easy. It may be necessary to refresh and load the configuration file
Without restarting (restarting is not necessarily easy to use), changing the idea configuration path can have the effect of refreshing, or try to release and delete the configuration file, or directly overwrite the configuration file that is easy to use by colleagues
After the change, close the idea, kill the process and restart the task manager
After the update is found, the scanning and indexing will not be repeated
Method v. too many project documents
If there are too many project files, it will be very slow to create an index, so you can exclude directories with a large number of files from the scope of creating an index. Borrow a picture.
Similar Posts:
- [Solved] idea Run gui Error: Error:Abnormal build process termination:
- [How to Solve Eclipse Issue] Open type (Ctrl-Shift-T) Can Not Found
- Modify the default open file path of Jupiter notebook
- [Solved] Running eclipse prompts The Eclipse executable launcher was unable to locate its companion library
- ZenCart easy popular CSV plug-in, ZenCart plug-in, ZenCart tutorial
- [Solved] idea Error opening zip file or JAR manifest missing :JetbrainsCrack.jar
- IDEA uses sonarlint error [How to Solve]
- SDK manager cannot open the solution (Android)
- After modifying Tomcat’s server.xml, the Tomcat deployment project reported an error: removing observe files from server… Could not clean server
- [Solved] Windows 10 remote error: Oracle fix due to CredSSP encryption