obsidian-apply-patterns-plugin icon indicating copy to clipboard operation
obsidian-apply-patterns-plugin copied to clipboard

[FR] Comment field in rules section

Open zanodor opened this issue 2 years ago • 5 comments

I have just migrated my Linter patterns to Apply Patterns but of the three dozen rules many look convoluted and hard to know what they are doing. So I had to make an md file explaining what each rule does.

It would be nice to have a comment field where one can put it some pointer or the URL of a regex101.com test example to give an idea what is going on there.
It would be very helpful in troubleshooting when one comes back in a few months time.

Great plugin, Cheers Z.

zanodor avatar Jul 02 '23 21:07 zanodor

Thank you for this! I know that this is a very late response, but I thought to write and say that I'm coming back to update the plugin for the first time in quite a while, and am planning to incorporate this idea. I'll post more here when I've drafted a beta version!

jglev avatar Apr 12 '25 14:04 jglev

Thanks

zanodor avatar Apr 13 '25 21:04 zanodor

Just an incremental update: A draft is now out in v2.2.0-beta0, if you'd like to manually install and try it at all.

jglev avatar Apr 13 '25 22:04 jglev

Noticed the main.js is substantially reduced?

zanodor avatar Apr 14 '25 10:04 zanodor

I see that, too -- And I'm unsure why! I did substantially update the esbuild version, and changed some arguments to complete that upgrade, so my current hypothesis is that that explains the size difference in output files.

With all that said, the updated, smaller main.js file does seem to work as expected!

jglev avatar Apr 20 '25 21:04 jglev