The drop-down menu for adding file properties has unwanted, unrecognized entries

In any note, when I go to “add file property,” and the drop-down menu appears, there are numerous items that start with “TQ_”. For example, TQ_explain, TQ_extra_instructions, TQ_short_mode, and others (see attached screen shots).

What I’m trying to do

I’m trying to eliminate these TQ_ things from the drop-down menu.

Things I have tried

I’ve searched all my notes for these file properties. I found only one note with one of the properties. I deleted the that property from that note.

In this forum, I searched for “tq” There were several results. I read all of them and none of them concerned file properties starting with TQ.



Chatgpt was totally unhelpful.

1 Like

They look related to a task plugin. Check if you have any task plugins that do things with properties.

1 Like

Went through the same thing a while ago. They are from a community plugin called Tasks. I have 7.22.0 installed and use it all the time. I haven’t tried uninstalling Tasks it to see if those TQ_ tags go away. I am told they are hidden in a config file.

" 1. The Tasks plugin’s Query File Defaults facility, based on specific properties named TQ_*,"

1 Like

I installed tasks several months ago but did not use it. A few days later, I uninstalled it. But the TQ_ entries in the add file property dialog remain.

I’ll try to find the configuration file. Perhaps it can be deleted – which would perhaps make the TQ_ entries go away. The question becomes whether doing this would affect my Obsidian installation in any way other than getting rid of the unwanted entries.

Deleting a configuration file for a plugin you don’t use should have no unwanted side effects.

Hey, for future reference to those that have uninstalled tasks plugin but still see these properties they can be easily removed. Just open the types.json file found under your .obsidian directory and delete the relevant property type definitions from the file. This fixed it for me and likely should for anyone else. I had tried using the property view plugin and selecting the properties and choosing delete, but that did not work as they came back after restarting even though they had 0 notes using them.

Excalidraw also pollutes the property names but can be resolved in this same way. I figure this won’t work if you still have these plugins installed since they would likely repopulate the type.json file. Not sure if this is something that can be fixed by the plugin developers themselves or would require a change to obsidian itself.

Thank you. Because your fix didn’t work for me, I have another question (see below).

I did this, which seems to have worked: 1) paused sync to remote vault; 2) copied entire vault and stored it as a backup; 3) uninstalled Obsidian; 4) reinstalled Obsidian; 5) created empty vault with the same name as the old vault; 6) reinstalled same community plugins; 6) copied contents of my backup vault, except for .obsidian/types.json and the subfolder for the tasks plugin in .obsidian/plugins (it was still there although I uninstalled tasks long ago); 7) closed obsidian and reopened it. Everything looks right and the TQ_ entries are gone.

Just to provide an additional resource here, there is an issue thread on the Tasks repository concerning this topic: Don't create default properties "TQ_*" if they not used or add ability to disable this feature [and perhaps add a command to populate it on request] · Issue #3331 · obsidian-tasks-group/obsidian-tasks · GitHub

Folks can subscribe to that thread if they want to be notified of resolution, and there’s also instructions for how to roll back the Tasks plugin installation to the version just prior to when these page properties were introduced, if you’d like to avoid them but still use Tasks.

When I resumed sync, however, the TQ_ emtried reappeared. For me, simply deleting the types.json from the .obsidian folder set things right.