command:revealFileInOS is opening the folder where the file is, instead of opening the file.
Am I using the wrong command?
I also tried the command vscode.open but it opens the file inside of vscode.
I'm not trying to open the file in vscode, i'm trying to open it like if you were just double clicking/opening it.
const uri = vscode.Uri.file(item.originalImagePath);
const args = [uri];
const openFileCommandUrl = vscode.Uri.parse(
`command:revealInExplorer?${encodeURIComponent(JSON.stringify(args))}`);
const browseFileCommandUrl = vscode.Uri.parse(
`command:revealFileInOS?${encodeURIComponent(JSON.stringify(args))}`);