Falcion / UNITADE.md

A plugin for note-taking app Obsidian™ which allows you to treat any file extension as markdown note-file
MIT License
49 stars 0 forks source link

[BUG]: Enable Dynamic registry does not parse files correctly #26

Closed darthwonka closed 5 months ago

darthwonka commented 5 months ago

Contact details

wonka@wonaktania.org

What the essence of the bug

When Enable dynamic registry is enabled, I suspect it is attempting to find all sorts of file extensions to add to the extensions field in the config.

What I see happening is that it fails to parse the files correctly and adds partial filenames to the list.

I may have a unique note situation -- I have a large folder full of FQDN file names with several dots in the name, for example, I would have bigserver.corp.example.com.md file where Unitade would interpret parts of the domain name as a file extension... The field, last I checked, contained over 50 entries like that.

Version of an project's essence

...

On what OS you have encountered the bug.

Windows

Code of conduct

Issue policy

Falcion commented 5 months ago

You can see last changes into "dynamic registry" in the last changelog:

  1. Now there are two modes: "safe" and "unsafe", safe mode extracts last extensions from file (example: data.conf.example -> example); unsafe mode takes every extension (data.conf.example-> conf, example);
  2. There is also new ignoring module for files (by regular expressions), extensions and also grouped extensions which also could help you with your issue.

More about related changes, read the latest release.

I hope last update fixes your problems and makes usage of this plugin more comfortable, if not, you can open issue again.