vscode-front-matter icon indicating copy to clipboard operation
vscode-front-matter copied to clipboard

Issue: Hidden folders are visible in Media

Open DennisL68 opened this issue 2 years ago • 1 comments

Describe the bug When I select Media in the FrontMatter Dashboard all folders that start with . is displayed even though they should be considered hidden.

As an option, folders that has the property hidden in NTFS or FAT32 should also be hidden from Media.

To Reproduce Steps to reproduce the behavior:

  1. Create a folder labeled .hidden in the root of the project.
  2. Open the FrontMatter Dashboard
  3. Click on Media
  4. Notice that the hidden folder .hidden is displayed.
  5. Right-click on the folder and select Properties
  6. Enable the Hidden property.
  7. Notice that the folder is still visible in Media.

Expected behavior Hidden folders should be kept hidden from the Dashboard in Media.

Screenshots image

image

Desktop (please complete the following information):

  • Version: 1.75.1 (user setup)
  • Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
  • Date: 2023-02-08T21:32:34.589Z
  • Electron: 19.1.9
  • Chromium: 102.0.5005.194
  • Node.js: 16.14.2
  • V8: 10.2.154.23-electron.0
  • OS: Windows_NT x64 10.0.19044
  • Sandboxed: No
  • Extension Version: 8.3.0

Additional context This is especially important when using git as you don't like anyone editing the .git folder by mistake (including yourself).

DennisL68 avatar Feb 15 '23 14:02 DennisL68

We will have to test to see if we can exclude these. A setting might be useful to hide/show dot folders.

estruyf avatar Feb 16 '23 07:02 estruyf