Issue with clicking "embedded @search" tags in the editor

Hi everyone,

I’m having a question about the “Save as embedded @searchsearch in document” feature.

When I create an embedded search line like the one below: Today's Tasks @search(@today and not @done)

If I click the @search tag directly in the editor, the search bar at the top just fills with @search and filters the view to only show that specific search line. It doesn’t seem to execute the query contained within the parentheses.

I expected that clicking the tag would trigger the actual search (filtering for today’s tasks), but it seems it only works as expected when I click the corresponding item in the Searches section of the sidebar.

Is this the intended behavior? Is there any way to make the query execute directly by clicking the tag or the line within the editor?

I am using TaskPaper on macOS. Thanks for your help!

It is, tags are a general purpose feature in Bike, and the main interaction is that clicking on tag will filter your outline by that tag. Clicking on a tag’s value will filter your outline by the associated tag and value.

The @search tag case is a bit of a hack… I wanted to allow people to save custom searches in their TaskPaper documents. I didn’t want to invent a new syntax and so I used tag syntax. The special bit is the sidebar searches for these tags and presents the searches. But to the editor they are just like any other tag.

If you don’t want to always have the sidebar open you can also use menu items “Palette > Go to Anything” or “Palette > Go to Search” to filter by one of your saved searches.


Also, generally the way I would expect saved tags in an outline to be used, is that you put them in some collapsed out of way location in your outline. So you don’t normally see the in outline text, you just interact through sidebar + palettes.

And last… you probably already know this, but if you are OK with the search showing in all of your outlines sidebars, you can also save it outside of your outline (just don’t check the “Save as embedded @search in outline” checkbox) when you create the search.

1 Like