friebetill/obsidian-file-diff

No Option to Compare

Opened this issue · 3 comments

elzik commented

I am running Obsidian v1.1.16 on Windows and have installed this plugin. Thanks for writing it.

However, when I open my command palette and search for file diff the only option I see is File Diff: Find sync conflicts and merge. I do not see an option for just File Diff: Compare.

image

Any ideas?

You need to have a file open in order to access the other two options. Basically, when you have a file open, it will serve as the base file and you'll be asked to select a comparison file.

Another user also struggled with this issue. So it's worth considering making this more user friendly. I could make the other two options always available and if no file is open the user is prompted twice, for the base file and for the comparison file.

For now I think it's alright, but I'm always happy to hear suggestions for improvement. If the issue receives 10 likes, I'd be more than willing to make the change.

elzik commented

Great, thanks for the reply.

Thanks for your detailed answer @friebetill. It works