It appears that the extension doesn't behave correctly with mapped network paths.
eg: (on windows) I have a network drive mapped to the letter Y:
Y:\Folder1 should be mapped to Y:\Folder2
Rules in user settings as follows:
"diffdefault.rules": [
["Y/Folder1", "Y/Folder2"]
]
opened.path resolves to: /Y:/Folder1/file.text
prefix[0] resolves to: Y:\Folder1
Therefore the line: if (opened.path.startsWith(prefix0)) resolves to false and the extension doesn't launch the diff - even though it should.
It appears that the extension doesn't behave correctly with mapped network paths.
eg: (on windows) I have a network drive mapped to the letter Y:
Y:\Folder1should be mapped toY:\Folder2Rules in user settings as follows:
opened.path resolves to:
/Y:/Folder1/file.textprefix[0] resolves to:
Y:\Folder1Therefore the line:
if (opened.path.startsWith(prefix0))resolves tofalseand the extension doesn't launch the diff - even though it should.