问题
These are my settings. Here is the error i am facing while compiling .less file.


回答1:
Step 1: Install npm less module
npm install -g less
Step 2: Install the less plugins in Intellij Idea
File > Settings > Plugins
Step 3: Setup Less Profile
File > Settings > LESS Profiles
It'll auto-generate the CSS file as soon as any change is noticed in LESS if "Compile Automatically on Save
" is used.
回答2:
You are incorrectly looking in Project Strucutre
.
The Project Settings
is the icon to the left (spanner).
来源:https://stackoverflow.com/questions/28497601/configure-less-compiler-in-intellij-idea-ultimate-edition-14