CoffeeScript语法高亮不显示在Sublime Text 2中 [英] CoffeeScript syntax highlighting not showing up in Sublime Text 2

查看:143
本文介绍了CoffeeScript语法高亮不显示在Sublime Text 2中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在CoffeeScript中进行一些编码,因此我找到了 https://github.com/Xavura/CoffeeScript-Sublime插件,我使用软件包控件安装它。我重新启动Sublime Text,我在 .js.coffee 文件中键入的所有内容仍然是纯白色的。我在这里做错了什么?

I needed to do some coding in CoffeeScript, so I found https://github.com/Xavura/CoffeeScript-Sublime-Plugin and I installed it using Package Control. I restarted Sublime Text and everything I type in my .js.coffee file is still plain white. What am I doing wrong here?

推荐答案

打开 .coffee 文件,然后转到 视图 - >语法 - >打开所有与当前扩展名为... - > CoffeeScript 。现在,任何时候打开CoffeeScript文件都应该具有正确的语法高亮。

Open a .coffee file, then go to View -> Syntax -> Open all with current extension as... -> CoffeeScript. Now, any time you open a CoffeeScript file it should have the correct syntax highlighting.

这篇关于CoffeeScript语法高亮不显示在Sublime Text 2中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆