Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L80)][[2](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L81)][[3](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L82)][[4](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L83)][[5](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L84)][[6](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L85)][[7](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L142)][[8](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L236)][[9](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L237)][[10](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L238)][[11](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L361)][[12](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L362)][[13](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L363)][[14](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L486)][[15](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L556)][[16](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L557)][[17](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L558)]:You should change all instances of `var` to either `const` or `let`. `var` has function-level scope, so it can easily lead to bugs if you're not careful. Here's a pretty good guide with examples of why not to use `var`: [why `var` is obsolete](https://javascript.plainenglish.io/4-reasons-why-var-is-considered-obsolete-in-modern-javascript-a30296b5f08f)

[[1](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L356)][[2](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L509)][[3](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L640)][[4](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L650)][[5](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/settings.ts#L60)][[6](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/settings.ts#L73)]:This is only available on desktop, use the [Platform](https://docs.obsidian.md/Reference/TypeScript+API/Platform) interface from the Obsidian API instead.

[[1](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L119)][[2](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L135)][[3](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L145)][[4](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L149)][[5](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L154)][[6](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L174)][[7](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L177)][[8](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L182)][[9](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L186)][[10](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L190)][[11](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L194)][[12](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L198)][[13](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L202)][[14](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L206)][[15](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L208)][[16](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L252)][[17](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L264)][[18](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L273)][[19](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L360)][[20](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L377)][[21](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L389)][[22](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L435)][[23](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L462)][[24](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L464)][[25](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L466)][[26](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L520)][[27](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L521)][[28](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L534)][[29](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L535)][[30](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/main.ts#L572)] and more :You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/UUoocl/UUhimsyPlugin/blob/faefe69411bc164fce83fce5fa0025af83ecd67d/settings.ts#L201)]:Use `app.fileManager.trashFile(file: TAbstractFile)` instead, this will make sure that the file is deleted according to the users preferences.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.