I open a file once and choose a wrong “open with” option.
How can I get it to ask me again or use another option?
I tried “right click” with no success.
Changing file association in android studio project explorer:
Go to Settings >> Editor >> File types
Switch between recognized file types to find your file extension (example: *.txt) or you can directly type it to find results quickly then remove it (red minus sign in the right). Now try to open that file again it should open “open with..” dialog for you again.
Edit: after I reviewed your tag, I realized you wanted to open a file from android device explorer. It’s almost the same process:
Go to Menu >> Windows >> Preferences >> General >> Editor >> File associations
Answered By – Omar Mneimneh