如何在eclipse中配置较少?

Pau*_*che 5 eclipse configuration less

我从http://www.normalesup.org/~simonet/soft/ow/eclipse-less.en.html下载了这个插件.

并安装在eclipse上然而当我尝试编译较少的css我得到这个错误

Cannot be launched because of an I/O exception
Cannot run program "lessc": CreateProcess error=2, The system cannot find the file specified
Run Code Online (Sandbox Code Playgroud)

任何成功安装此指南的人都可以朝着正确的方向前进吗?此外,xtext已经安装.

Von*_*onC 7

对于lessc GitHub repo有一个类似的问题:issues/213

我添加了一个新的启动配置如下:

LESS command: lessc (existing)
Compress the generated CSS file (existing)
Use this launch configuration as default
Run Code Online (Sandbox Code Playgroud)

你必须改变" LESS命令 ".
请填写" lessc"物理路径,就像" C:\Users\[Yourname]\AppData\Roaming\npm\lessc.cmd"
(Windows 7,node.js标准安装程序)

这意味着你必须指出完整的路径 lessc.cmd