fman-users / fman

Issue tracker for fman, a cross-platform file manager
https://fman.io
240 stars 3 forks source link

Disable "default editor" #783

Closed sarmamen closed 3 years ago

sarmamen commented 3 years ago

I am using windows. When creating a new file pops the following diag: image

After pressing OK above, appears the following diag: image

My question is: "is there any way to disable the second diag? I dont want to select a default editor and it is annoying to press Cancel each time".

The reason for that is that i wrote myself a small "open with" plugin and by pressing CTRL+R i will get a list of editors i can chose from: image

When everything is running ok i will make the plugin public :)

mherrmann commented 3 years ago

As the editor in the second dialog, you could select an .exe that simply does nothing. Would that work?

sarmamen commented 3 years ago

I tried it out, and it is working. I tried different FileTypes (.txt, .json, .py, ...)

I also tried an empty file without extension and at first got this error. I tried the same thing 5 times after and the error didn't appear. Strage. But the most important thing is that i got rid of the PopUp. Thank you. image