Displaying .git file on Project View
Answered
I've browsed a few of the threads on this forum discussing this topic, but none solved the issue I am running into. I need the Project View to display all hidden files (starting with "."). Any help would be appreciated.
Please sign in to leave a comment.
Why do you need that? They are hidden with purpose.
List of ignored files and folders can be configured in Settings | Editor | File Types -> Ignored files and folders.
In this particular case, it was to examine my .git/config from within the IDE.
Thank you for the recommendation, but that just gives me the ability to ignore additional files. Hidden files are automatically ignored and for some reason, not being shown within Ignored Files.
That is not true, .git does not appear in the project view only because it is added to the mentioned list. Just remove it from there and here it is
Note that you could open a file in the IDE even when it is not listed in the project view, using File - Open. If it is not a frequent task, I don't think it is worth showing the content of git folder in the project tree.
Thanks Dimitry, that solved it, specifically it should be deleted from this list:
In my case I needed that (to see the .git folder in my projects overview) because I wanted to delete it on Windows and I'm unfamiliar with its folder-deletion-commands.
There should be an Oxford comma in there and I have no idea where.
In my case, I wanted to edit the `sparse-checkout` file of my Git submodule.
Thanks!
man why hide files without providing easy way of showing them. The more time I spend in Intellij the more dumb features I find, at least add a option to show ignored files just like there is one for showing excluded files
In my case, I wanted to add a git hook.
Hey team, I want to see and be able to EASILY access the .git directory in the Project Explorer, full stop. It is not your job to second-guess my reasons or preach to me that this isn't what I really want, that I shouldn't want it, that I shouldn't need it, or that it is bad for me.
Thanks Dmitriy Smirnov. It works, now I can show .git folder.