Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ is hiding folder in project window mentioned in .gitignore file, how to show that folder in project window?

IntelliJ project window and .gitignore file snapshot

  • ignoring build folder does not show it in project window.
  • commenting .gradle in .gitignore does show it in project windows.

I want to show both .gradle and build folders in project windows but I also want to include them in .gitignore file.

like image 507
Ishtiaq Maqsood Avatar asked Jun 06 '17 18:06

Ishtiaq Maqsood


People also ask

How do I show a .GIT file in IntelliJ?

git directory is ignored by default. To see it in the project pane, do the following: Go to the settings ( Help | Find Action... Ctrl/Cmd + Shift + A and type "Settings"). Navigate to Editor | File Types in the Settings dialog.


1 Answers

Right click on a directory in the project view and make sure Hide ignored files option is not enabled.

This feature is provided by a third-party .ignore plug-in. IntelliJ IDEA doesn't hide ignored files out of the box.

Note: If you don't see the .gitignore-d files, then try clicking this option regardless of its label in this menu. Sometimes because of a bug the entry says "hide" but clicking it actually shows the hidden files.

hide

like image 54
CrazyCoder Avatar answered Oct 03 '22 17:10

CrazyCoder