In the process of using Eclipse, you may encounter the situation that the buliding workspace is stuck in half.
This situation often occurs because Eclipse is too naughty, and needs to be pulled out and spanked, and it will be fine.
Just kidding, in fact this situation may be due to various reasons, I think the most common reason is to get stuck in the Validation function of JS and JSP provided by Eclipse.
This Validation verification function is actually useless at all, and it will cause lag. It is generally recommended to turn it off.
However, if you are stuck in the buliding workspace, there may be no way to turn off the Validation verification function. However, after forcibly killing the Eclipse process, the next time you open Eclipse, it will automatically enter the buliding workspace state and be stuck in this state, so you need to forcibly close the buliding workspace first. The way to close is to remove the check in front of Project->Build Automatically, that is, to prohibit the automatic build of the project, so that when the Eclipse process is forcibly killed, the next time you enter Eclipse, it will not automatically enter the buliding workspace state and be stuck in this state. The corresponding setting operation can also be carried out.
After forcibly stopping the buliding workspace, you can turn off the Validation check function by setting.
1. Remove these two check boxes through project->Preferences->Buliders (this is the most important, my actual experience is that it will take effect immediately).
2. Check the Suspend all validators option through Window->Preferences->Validation or remove the check box in the list below (this is less important, because my actual experience is useless).
This removes the Validation check.
"Dare to challenge yourself and experience life to the fullest. You are the warrior of life."
Reprinted in: https://www.cnblogs.com/yanggb/p/11505933.html