Solve the problem of idea explosion: The file size exceeds configured limit. Code insight features are not available.

Table of contents

Problem Description       

Modify the length of idea code compilation

        1. Find the menu help->help-->Edit Custom Properties...

         ​ ​ 2. Restart the Idea editor


Problem Description        

        When using idea for Java development, it emerged that The file size(2.59MB) exceeds configured limit(2.56MB) . Code insight features are not available. This is what idea tells us: The Java single file code compiled by our idea exceeds our default limited length (2.56M). Here we need to modify the limited length of our compiled code file.

       When Idea starts, it will automatically compile the Java files of our project. If a single file exceeds our default maximum single file of 2.56M, the result will be that the file cannot be automatically compiled when Idea starts, and projects that rely on this code will naturally It also failed to compile and became popular.

Class diagram:

        


Modify the length of idea code compilation

        1. Find the menu help->help-->Edit Custom Properties...

        Add the following content:

         ​ ​ ​Set the maximum size of a single smart compilation file to 10000KM=10MB

#The unit is KB

idea.max.intellisense.filesize=10000

         2. Restart the Idea editor

This is done

Guess you like

Origin blog.csdn.net/lejian/article/details/133749960