Since file comparison can be executed from vscode using at least a couple of ways that I am aware of:
- code --diff file1 file2
- command palette: "File: Compare Active File With..."
I was wondering if there could be an api for comparing two files that I could use in an extension? I couldn't find it in the official page though. Maybe it's in the works/plans already?