问题描述
我在Android Studio中创建了一个新文件(扩展名为.frag),并弹出了注册新文件类型关联"窗口.我没有注意,而是选择了在关联的应用程序中打开匹配的文件",该文件现在可以使用,因此无论何时我尝试打开* .frag文件,该文件都会在Gedit中打开(在创建文件时已打开) .我在设置"中检查了文件类型,但没有看到更改关联定义的选项.我希望在Android Studio中打开* .frag文件.
I created a new file (with .frag extension) within Android Studio, and a window "Register New File Type Association" popped up. I wasn't paying attention and I selected "Open matching files in associated application" which now makes it so any time I try to open a *.frag file it opens in Gedit (which I had open at the time of the file creation). I checked file types in Settings but I didn't see an option to change the association definition. I want my *.frag files to open in Android Studio.
推荐答案
我刚才犯了同样的错误.
I just made the same mistake.
- 转到设置
- 在搜索框上输入文件类型"
- 在编辑器"下选择文件类型"
- 找到分配的那个并将其删除.
这篇关于Android Studio文件类型扩展名定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!