Enable use of hidden files and folders starting with a dot /dotfiles/.dotfolders within Obsidian

Chiming here, terribly belated, not to add a +1 (although I wish this feature existed and not sure why it goes against standard convention however that’s neither here nor there), but to provide a solution.

I’m aware there is a plugin that can achieve this hiding, yet I believe this to be absurdly overkill to remove a folder from a filetree. So… I came up with a simplistic CSS snippet to achive this.

.nav-folder-title[data-path="3. Resources/Scripts"],
.nav-folder-title[data-path="3. Resources/Templates"] {
  display: none;
}

This hide it’s from the filetree, and given my Scripts folder only contains .js files they’re not searchable anyway, but in the case of templates I am still able to search my those files and alter them in Obsidian should I wish. Although I have hidden from

Some people suggest turning on “Detect all file extensions”, and then adding a plugin called obsidian-vscode-editor, however I don’t consider Obsidian a code editor… this is what VSCode—or nvim—is for!

I hope this provides someone in the future a glimmer of hope until we can get a technical explanation as to why dot files/folders are not allowed, and/or the feature is enabled. You’re welcome in advance!

2 Likes