tjx666 / open-in-external-app

Open file with external application in VSCode
https://marketplace.visualstudio.com/items?itemName=YuTengjing.open-in-external-app
MIT License
55 stars 9 forks source link

bind "double click" to trigger "Open in External App" #61

Open scicco opened 8 months ago

scicco commented 8 months ago

Hi,

as per title, is it possible to bind on double click?

If so, how is it achieved?

Thank you

tjx666 commented 8 months ago

Do you mean using the double click action in the file explorer?

VSCode has built-in behaviors for file interactions:

Therefore, I believe this suggestion might not be advisable as it could conflict with VSCode's inherent functionalities.

scicco commented 8 months ago

Do you mean using the double click action in the file explorer?

VSCode has built-in behaviors for file interactions:

* A single click on a file opens it in preview mode.

* A double click on a file keeps it open, similar to the shortcut `CMD + K Enter`.

Therefore, I believe this suggestion might not be advisable as it could conflict with VSCode's inherent functionalities.

Yes, I mean the double click action. For many binary formats, the actual behaviour of Code is useless. That's why I think many people have installed your extension, i.e:

I've tried to find out how to achieve that, but I got no luck.