Intellij doesn't show .git directory

How I can I get Intellij to show the .git folder in the project viewer? I tried ctrl+alt+A and clicked "show hidden files and directories", but it doesn't switch to the "on" position, so I suppose that's not the way of going about this?


The .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
  • Remove .git; from the Ignore files and folders text field at the bottom