hdalsania commented on issue #986:
URL:
https://github.com/apache/daffodil-vscode/issues/986#issuecomment-2007435278
@shanedell This was the issue only with Windows and I found out that
Uri.Parse function used within vscode.commands.executeCommand VSCode API
function was encoding the path string and replacing "\" with "%5C" encoding. By
replacing Uri.Parse with Uri.file in infoset.ts for infoset diff functionality
fixes the problem for windows. It works in both Windows and Linux.
@lrbarber will update the inforset.ts with following change in his existing
PR #992 and push his changes soon.
ctx.subscriptions.push(vscode.commands.registerCommand('infoset.diff',
async () => {
if(sid !== undefined){
let path = ensure(tmp(sid));
let prev = ensure(`${path}.prev`);
vscode.commands.executeCommand ('vscode.diff', Uri.file(prev),
Uri.file(path), "Previous ↔ Current");
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]