This plugin help discover your incomplete files base on given rules.
✅ Powerful, Dead Simple
Demo: https://www.youtube.com/watch?v=GO3N-IdBNVA&ab_channel=YomaruHananoshika
- rule based incomplete files detection
- show all incomplete files with issues
- non intrusive, you install the plugin and don't need to do anything else
- incomplete files view: see all your incomplete files in a list
- see last update time of this file
- realtime udpate of your incomplete files
- highly optimized so it is fast to analyse files
rule name | description | DEFAULT |
---|---|---|
EMTPY CONTENT | This rule cannot be turned off. When the file has no content, it is treaded as incomplete. | ✅ |
EMPTY CONTENT HEADING | When a heading has no content, it is treated as incomplete. | ✅ |
INCOMPLETE STNTAX | When a file has the incomplete syntax, it is treated as incomplete. The incomplete syntax is %% INCOMPLETE(issue which is a string) %% or %% INCOMPLETE %% |
✅ |
You can install this plugin in the community plugin store. 👍
- install the BRAT plugin
- go to the plugin option, add beta plugin, copy and paste the link of this repo.
- the plugin will automatically appear in the list of installed community plugins, enabled this plugin
- cd to
.obsidian/plugins
- git clone this repo
cd obsidian-incomplete-files && bun install && bun run build
- there you go 🎉
- clone this repo to your plugins
- bun install
- bun dev
- add a new enum to
INCOMPLETE_ISSUE_TYPE
- also add to
settingSchemas.ts
- create your scanner
export const issueScanners = [
checkEmptyContent,
checkEmptyContentHeading,
checkIncompleteSyntax,
];
// this is the interface you can refer to
export type IssueScanner = {
issueType: INCOMPLETE_ISSUE_TYPE;
func: ScanFunction;
icon: string;
setting: {
name: string;
description: string;
default: boolean;
};
};
- create a test case for your scanner
- test it in your development vault
- there you go 🎉
If you are enjoying this plugin then please support my work and enthusiasm by sponsoring me on Github or buying me a coffee on https://www.buymeacoffee.com/yomaru.