Intellij doesn't show .git directory

Intellij Idea

Intellij Idea Problem Overview


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?

Intellij Idea Solutions


Solution 1 - Intellij Idea

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestioncgsdView Question on Stackoverflow
Solution 1 - Intellij IdeaBas LeijdekkersView Answer on Stackoverflow