Hi Mohammad, Thanks for checking it out. To your points:
1. I thought this looked tricky, but I guess by importing variables from each candidate tiddler in turn, we can examine non-global macros in the same way. Local macros will often have non-unique names, so that would have to be taken into account. In practical terms, Mat's solution shared here ( https://groups.google.com/g/tiddlywiki/c/NgFPRM1fFCw) works pretty well for finding local macros and linking to their source tiddlers, and is a lot simpler. 2. This should be possible...it's all just filters, except the two JavaScript macros that find out what TiddlyWiki considers the definition text of a macro to be, and what its parameter names and defaults are. Best, Chris On Friday, February 26, 2021 at 11:51:10 PM UTC-5 Mohammad wrote: > Hi Chris, > Inspect is a very useful addition both for developers and users. > > Few suggestions (ignore them if not relevant) > > 1. find macros in tiddlers not tagged with $:/tags/Macro (e.g. non-global > variable). For example I can search in all tiddlers tagged with > $:/tags/Macro/Commander > 2. limit the search to a plugin or filtered list only > > > Best wishes > Mohammad > > > On Fri, Feb 26, 2021 at 11:47 PM clutterstack <bee...@gmail.com> wrote: > >> Hi all, >> >> I was playing with dropdowns and...things...and I built something that I >> wished I had last summer, and which will help me keep track of current >> variable and macro definitions/values. >> >> A first version to play with is at >> https://clutterstack.github.io/can-tw/clutterstack-TW5-com/#Inspect%20variable%20and%20macro%20definitions >> >> It's not perfect, but I'm kind of pleased. Also not documented or >> packaged. >> >> I ended up writing two javascript macros to access variables and their >> properties -- if I could have done this using filters, I'd love to know >> what I missed! I didn't just want to search tiddlers for "\define" etc, >> because sometimes I put that stuff in code blocks as content. >> >> Also, if there was a pre-existing public solution for this, I'd also like >> to see it. There must be a few out there, at least in private wikis. >> >> Best, >> Chris >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to tiddlywiki+...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/b24fbec3-5b12-4610-9778-3633be89af4bn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/b24fbec3-5b12-4610-9778-3633be89af4bn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a526472b-cf9b-405b-9cc4-32b959c0b92en%40googlegroups.com.