How to show hidden files/dirs that start with a dot in the File->Open dialog?

已回答

I would like to edit my .github/workflow files in my project.

The .github/ directory is not shown (it's not excluded anywhere).

When I try to find a file with File→Open, files and dirs starting with a dot are not shown in the dialog.   I've found no options in settings to show hidden files.

My system (macos) finder is configured to show hidden files.   I also cannot go to the finder and drag/drop the files into intellij.  This is frustrating.

0
In the file chooser dialog in Mac Finder, press Command + Shift + . (period) to make the hidden files appear.
0

I have same issue but in Windows WSL - i can't access dot files (eg .gitignore) in various “Select Path” dialog(Tested: Compare with…, Open…  ). Docs(https://www.jetbrains.com/help/phpstorm/2024.3/select-path-dialog.html) suggest that there should be button to show hidden files but it's gone (atleast for PHPStorm 2024.3).

0

Checking the Open file dialog, I could find the (eye)icon for "Show Hidden files in Directories". Could you share the specific dialog you are referring to with a screenshot? 
Also, please upload the logs (`Help | Collect Logs and Diagnostic Data...`) in https://uploads.jetbrains.com/ and share the ID with us to check further.

0

Logs: Upload id: 2024_12_02_TDUsqZs1X5SijByTWJd32n (file: phpstorm-logs-20241202-1444267012292537494799703.zip)

 

edit: If you manually write path to hidden file in file browser's adress input, then file browser show all hidden files:

 

0
Could you try switching to the native file chooser to confirm if it helps? Go to "File | Settings | Advanced Settings" and select the option "Use native file chooser dialog on Windows/macOS".
0

No, it not helps because it change file chooser dialog to windows native and i want to avoid it as much as possible.

0

Hi,

This is a bug that the file chooser does not have a "show hidden files" menu after using the "Compare with" action.
I have created a bug report here: https://youtrack.jetbrains.com/issue/IJPL-173447
Feel free to watch it.

If you don't like the native file dialog, as a workaround you could switch to the new file chooser by adding ide.ui.new.file.chooser=true in IDE main menu `Help | Edit Custom Properties`, restart the IDE. After it, using the `...` menu can show hidden files.

 

1

请先登录再写评论。