fabiospampinato / vscode-open-in-application

Open an arbitrary file in its default app, or the app you want.
MIT License
19 stars 0 forks source link

Open Images in Affinity Photo #22

Open lukastom opened 2 months ago

lukastom commented 2 months ago

I am on Windows. When I use just "png": "Photoshop", it opens the image in Photoshop. Now, I switched to Affinity Photo and I would like to open images in that but I can not make it work. I tried for example "png": "Affinity Photo" or

    "openInApplication.applications": {

        "png": "C:\\Program Files\\Affinity\\Photo 2\\Photo.exe",
        "jpg": "C:\\Program Files\\Affinity\\Photo 2\\Photo.exe"
    },

(and other similar ways) but nothing works. It opens the default Windows image viewer Windows Photos so it seams to parse words like "photo" anywhere in the string like this Windows app. Any ideas how to achieve opening in Affinity Photo?