Skip to content

[FR]: Allow for configurable types folder location #1757

@aldrichtr

Description

@aldrichtr

Feature Description

Important

First, I'd like to thank you for building such an awesome task management ecosystem!

Background

It is a minor thing, but the _types folder shows up in my folder structure, and i would like to move it to another folder. Specific to my setup, I have templates and scripts used by other extensions organized in a config folder, and I would like to move the tasks.md file there. I can configure mdbase cli and mdt to see this setup by changing the path in mdbase.yaml

spec_version: "0.2.0"
name: "TaskNotes"
description: "Task collection managed by TaskNotes for Obsidian"
settings:
  types_folder: "config/types"
  default_strict: false
  exclude:
    - "config/types"

However, when the plugin loads, it recreates the _types folder, even if i already have this configured. I think the relevant code is here.

Feature Request

Change the logic to check if mdbase.yaml exists, and if it does, check to see if types_folder points to an existing path, if not, create them.

Another method would be to define the path to the types_folder in the settings pages and then use that path when generating the files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions