Hide the specified file or specified type of file in Idea

Hide the specified file or specified type of file in Idea


When using idea to create a project, the standard project structure contains some unknown folders, which look very awkward when used. If you know enough about each file directory, you can delete the useless ones. If If you don't know each file directory, you can set the file to be invisible, so how to hide the specified type of file?

Open Settings → File Types → Ignored Files and Folders
insert image description here
insert image description here

insert image description here
Then add the file names you want to hide in Ignore files and folders,
and support * wildcards.

For example, if I want to delete the above .mvn folder, I only need to enter .mvn in Ignore files and folders, and then click Apply, we can find that there will be less .mvn folders in the project structure.
Finally, choose to leave the files we need. Folder is fine, mine is like this:
insert image description here

Guess you like

Origin blog.csdn.net/weixin_46220576/article/details/123549343