Description of the problem:
When using idea, with more and more modules, there will be a small bug in idea, that is, when there are more and more modules, after we create a new module, we will find that we have created a new application.yml
file It turns into a small leaf icon, causing the smart prompt to fail, and it is uncomfortable to look at.
As shown in the picture below: it shows white or red instead of small green leaves.
Problem solving:
1. Select file
, open project structure
2. Select modules
3. Select the module with the problem, right click, select add
, select spring
(that is, the small leaf icon)
4. At this time, a small leaf will appear below the module spring
(because you added it in the third step Come in), select spring
Xiaoyezi, click the + sign, click the + sign again, select other files
, select the problematic file, and click OK.