Skip to content

RenameDeleteHandlerSettings

Settings for the rename/delete handler.

Import:

import type { RenameDeleteHandlerSettings } from 'obsidian-dev-utils/obsidian/components/rename-delete-handler-component';

Signature:

export interface RenameDeleteHandlerSettings

Properties

PropertyTypeDescription
emptyFolderBehaviorEmptyFolderBehaviorA behavior of the rename/delete handler when deleting empty folders.
shouldDeleteConflictingAttachmentsbooleanWhether to delete conflicting attachments.
shouldHandleDeletionsbooleanWhether to handle deletions.
shouldHandleRenamesbooleanWhether to handle renames.
shouldRenameAttachmentFilesbooleanWhether to rename attachment files when a note is renamed.
shouldRenameAttachmentFolderbooleanWhether to rename attachment folder when a note is renamed.
shouldUpdateFileNameAliasesbooleanWhether to update file name aliases when a note is renamed.

Methods

MethodReturnsDescription
isNote(path)booleanWhether the path is a note.
isPathIgnored(path)booleanWhether to ignore the path.

Links to this page: