SpringBoot Basics - Hiding files or folders in IDEA (super detailed version)

Normally create a SpringBoot project with the following files:

Usually when we create a springboot project, some files that are not used temporarily will be automatically generated, which is a little annoying, and it is very awkward for those who like the neat and clear project structure, but those files may be used later, so here is a small The trick is to hide the file first and open it when needed.

 

To hide specified files or specified types of files in IntelliJ IDEA, you can follow the steps below:

1. Open IntelliJ IDEA and click "File" in the menu bar

 

2. Select "Settings" in the drop-down menu or use the shortcut key "Ctrl + Alt + S" (Windows) or "Cmd + ," (Mac) to open the settings window

 

 3. In the settings window, select "Editor" (Editor) -> "File Types" (file type)

 

4. In the "Ignored Files and Folders" tab in the right pane, click the "+" (plus sign) button in the upper right corner

 

5. In the pop-up dialog box, enter the file name to hide or use the wildcard "*" (asterisk) to match multiple file names

For example, if you want to hide all ".bak" suffix files, you can enter "*.bak"

 

6. After confirming the addition, click "OK" to save the settings, or click "Apply" to apply

In this way, you can see that the file name you added is hidden~

Guess you like

Origin blog.csdn.net/weixin_55772633/article/details/131952895