npm install less -g
** file>settingscss
**安装file watchers若是没有file watchers,则须要到plugins先安装,安装过程以下:web
**file watchers 点击“+”号按钮找到less文件选项点击添加。(不须要填写,直接使用默认)npm
大功告成,在项目中新建less文件后,会自动编译成css文件。less