Home > OS >  Is there a way to tell intelij to ignore a file inside a package
Is there a way to tell intelij to ignore a file inside a package

Time:03-10

I file inside a package and I want intelij to ignore it. every time I ran my code intelij keeps showing me errors and info from that java file. Is there any way for me to make intelij to ignore that file

CodePudding user response:

Right click on the file > Override File Type > Plain Text

Note: This action DOES NOT override the file type of a specific extension. Instead, it override the file type of a specific file

CodePudding user response:

You may switch-off all error highlighting at the top right corner for this file:

Disable highlighting in IDE

  •  Tags:  
  • java
  • Related