veriv icon indicating copy to clipboard operation
veriv copied to clipboard

Vscode command for reload image

Open shouhanzen opened this issue 3 years ago • 2 comments

Hello, First of all, I would like to say, thanks for your work on this repo. I'm using it for a Computer Graphics class rn and it is working wonderfully.

I have a use case where after I render an image, I would like to open said image (in exr format). Right now I have it hooked up so when I finish the program execution, code out/img.exr is executed. So far, this is making the editor jump to the tab where the image is open, but it is not triggering a reload of the image.

Something like a veriv.reload command would be great. I see in the keybinds that veriv.open and veriv.open-dir-images are already a thing.

Again, thank you for your work on this project.

shouhanzen avatar Apr 08 '23 23:04 shouhanzen

Hi,

Thanks for your words!

Right now there is a button that allows you to reload the image from the GUI. Are you referring to add support for another feature? I could create a new command veriv.reload similar to veriv.open, but I don't think you can launch these type of commands from the command line.

mcrescas avatar Apr 10 '23 10:04 mcrescas

Ah, my bad. Something like veriv.reload as a command would work since my current implementation is a "postDebugTask" entry in the launch config, so one could create a task that just executes the command.

shouhanzen avatar Apr 10 '23 22:04 shouhanzen