vscode-front-matter
vscode-front-matter copied to clipboard
Issue: Hidden folders are visible in Media
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:
- Create a folder labeled
.hidden
in the root of the project. -
Open the
FrontMatter Dashboard
-
Click on
Media
- Notice that the hidden folder
.hidden
is displayed. -
Right-click on the folder and select
Properties
- Enable the
Hidden
property. - Notice that the folder is still visible in
Media
.
Expected behavior
Hidden folders should be kept hidden from the Dashboard in Media
.
Screenshots
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).
We will have to test to see if we can exclude these. A setting might be useful to hide/show dot folders.