How do I view a list of untagged notes?
With the Folders extension, you can create "smart tags" that organize your notes according to pre-defined filters.
For example, suppose you wanted to see a list of all notes that do not have a tag associated with them. You can do this by creating a smart tag.
Creating A Smart Tag
- Activate the Folders extension.
- Within the Folders extension, click on Views, then press the + button.
- Copy and paste the follow smart tag syntax:
!["Untagged", "tags.length", "=", 0]
- Press enter on your keyboard.
At this point, you should see an item called "Untagged" under "Views". You can select this item to view a list of your untagged notes.
Understanding The Smart Tag Syntax
Smart tags can be used to construct any kind of simple query. The components of the smart tag syntax are as follows:
!: Indicates the start of a smart tag
[...]: A JSON array
- The first item in the JSON array is the display label.
- The second item is the note property you are targeting. This can be title, text, updated_at, created_at, tags, archived, pinned, and locked.
- The third is the comparison operator.
- And the last is the expected value.
Show all notes that have tags that start with the letter b.
!["B-tags", "tags", "includes", ["title", "startsWith", "b"]]
Show all notes whose title starts with Foo.
!["Foo Notes", "title", "startsWith", "Foo"]
Show notes that are archived.
!["Archived", "archived", "=", true]
Show notes that are pinned.
!["Pinned", "pinned", "=", true]
Show notes that are not pinned.
!["Not Pinned", "pinned", "=", false]
Show notes that have been updated within the last day.
!["Last Day", "updated_at", ">", "1.days.ago"]
Show notes whose text has more than 500 characters.
!["Long", "text.length", ">", 500]
Visit our dedicated forum thread on smart tags for help with constructing your own custom queries.