小编bar*_*a28的帖子

如何将文件类型与 Sublime Text 2 关联?

我使用本教程安装了 Sublime Text http://www.technoreply.com/how-to-install-sublime-text-2-on-ubuntu-12-04-unity/

我想将 Sublime 与 css、js 和 php 文件关联起来。我添加了以下行,但仍然在双击 php、js 或 css 文件时,它根本没有打开它(不仅仅是使用 Sublime):

text/php=sublime.desktop
text/x-php=sublime.desktop
application/php=sublime.desktop
application/x-php=sublime.desktop
application/x-httpd-php=sublime.desktop
application/x-httpd-php-source=sublime.desktop
text/javascript=sublime.desktop
text/css=sublime.desktop
Run Code Online (Sandbox Code Playgroud)

我应该如何进行?

file-association sublime-text

7
推荐指数
2
解决办法
4940
查看次数

标签 统计

file-association ×1

sublime-text ×1