English 中文(简体)
Show .idea folder in PhpStorm project tool window
原标题:

PhpStorm hides the .idea folder in the project tool window by default. However, I d like to show it in order to inspect the files and add/edit a .idea/.gitignore file to include and exclude specific files from version control. I have searched for project configuration options in order to unhide the .idea folder, but haven t found a way.

I could just use another editor to manage the files in the .idea folder, but I d like to use the git-integration of PhpStorm to manage these files.

最佳回答

For .idea there is dedicated registry setting for it as well (it is enabled by default for me, in PhpStorm at very least)

  1. Help | Find Action... and look for registry (or via Maintenance Ctrl+Alt+Shift+/ on Windows using Default keymap)
  2. Once inside -- look for projectView.hide.dot.idea entry
  3. Adjust accordingly (before leaving window -- ensure that new value is accepted properly -- e.g. focus another entry)

Took from

Update since Jun 16, 2020:

You need to restart your IDE after applying changes in Registry. Thanks to @DavidPauli!

问题回答

As of PyCharm 2022.2.2, this does not appear to work. After trying various ways of unhiding the .idea folder I had hoped this would be it.

  • edit: While the registry setting did not work, removing the .idea folder from the Settings/Editor/File Types/Ignored Files and Folders did work!

Please just change the representation of "Project" panel to "Project files" as shown on the screenshot:

screenshot.

Tested on latest WebStorm & PhpStorm, and it is as simple as adding the following setting (highlighted in the screenshot) !.idea to Editor > File Types.

show the ".idea"-folder

And here is the result:

enter image description here





相关问题
IntelliJ IDEA hint parameters of method

I m just swapping from eclipse to IntelliJ, and I can t find this particular feature. In Eclipse, when the cursor is inside the brackets of a method-call and I press Ctrl+Space, it tells me which ...

will installing several IDEs cause problems

I m trying to evaluate a number of IDEs like Eclipse, intelliJ, Aptana, etc. to see which one suits my needs. My question is should I expect any problems from installing several IDEs on the same ...

Restoring the IntelliJ IDEA "Project tab"

By default the IntelliJ IDEA interface contains the following tabs/panels: Project (tabbed to the left) Structure (tabbed to the left) Commander (tabbed to the right) Ant Build (tabbed to the right) ...

Grails 1.1 and how to info level logging

Which setting do I now use to produce logging output with log.info statements within my own controllers? Here s what I ve setup in config.groovy and I thought placing my domain under the info level ...

How to move IntelliJ file tabs?

In IntelliJ, when you open a bunch of source files, is there a way to rearrange the order of the file tabs? In Eclipse you can drag and drop but I don t see a way to do this in IntelliJ.

How to clear the IntelliJ project index?

I ve run into trouble that makes me suspect there is a bad index file that needs to be cleared. The symptoms are: Cmd+N will only find a subset of classes in the project Trying to run JUnit test on a ...

Limiting IntelliJ IDEA import suggestions on completion

When I type the name of a class which will need to be imported, IntelliJ lovingly pops up with a list of suggestions. However, most of the time those suggestions are things I d never want to import, ...

热门标签