idea隐藏无关文件
如果你想隐藏某些特定类型的文件(例如 .log 文件或 .tmp 文件),可以通过以下步骤设置:
- 打开设置
- 在菜单栏中选择 File>Settings(Windows/Linux)或IntelliJ IDEA>Preferences(macOS)。
- 进入文件类型设置
- 在设置窗口中,导航到 Editor>File Types。
- 添加文件类型
-  在右侧的 File Types列表中,找到Ignore files and folders选项。
-  在 Ignore files and folders的输入框中,添加你想要隐藏的文件类型或文件夹。例如:-  文件类型:使用通配符 *定义文件类型。例如:*.log;*.tmp;*.bak这会隐藏所有 .log、.tmp和.bak文件。
-  文件夹:直接写文件夹名称。例如: node_modules;target;build这会隐藏整个 node_modules、target和build文件夹。
-  路径:可以指定相对路径或绝对路径。例如: /path/to/specific/folder;relative/path/to/folder这会隐藏指定路径下的文件夹。 
  
 
-