具有语法突出显示功能的IDE对LESS的支持 [英] IDE with syntax highlight support for LESS

查看:72
本文介绍了具有语法突出显示功能的IDE对LESS的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何具有的语法高亮支持的IDE?

Is there any IDE with syntax highlight support for LESS?

推荐答案

Eclipse不完全支持.less(嵌套规则,单行注释等),但您至少可以对其进行配置,以便它可以打开.less文件并将它们视为.css.

Eclipse does not support .less fully (nested rules, single line comments, etc) but you can at least configure it so that it would open .less files and treat them as .css.

首选项>常规>内容类型: 找到"CSS"条目并添加.less扩展名.

Preferences > General > Content Types: find "CSS" entry and add .less extension.

然后,首选项">常规">编辑器">文件关联": 添加.less扩展名并与CSS编辑器关联.

Then, Preferences > General > Editors > File Assoc: add .less extension and associate with CSS editor.

总比没有好,尤其是如果您正在使用Eclipse世界;)

Better than nothing, especially if you're into Eclipse world ;)

这篇关于具有语法突出显示功能的IDE对LESS的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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