goland 修改文件的关联类型

File -> Setting -> Editor -> File Types

查看相应的类型, 编辑所需的文件。


1、手动修改

如 linux shell 脚本的, 需要选中 Bourne Again Shell (安装Bash Support插件),  

下面列表框会有 registered paterns :

*.bash (后缀默认自动关联)

*.sh 

... 自己所添加的文件, 如 sh_test等


2、如果文件未关联,右击会出现一个选项 Associate with File Type

猜你喜欢

转载自blog.csdn.net/wangweidong_1991/article/details/78909633