Intellij IDEA 11: how can I compile .css from .less?

后端 未结 5 1990
执念已碎
执念已碎 2021-02-13 13:29

how can I compile .css from .less in intellij ? sure this should be dead easy, but its got me stumped. anyone know how to do this?

5条回答
  •  猫巷女王i
    2021-02-13 14:02

    I know this question is for IntelliJ IDEA 11, but if you found this page even though you're searching for v12, there's an option better than the LESS compiler plugin (which was a great plugin -- thanks a lot for it, Andy!).

    It's a plugin called File Watchers, made by the JetBrains team. It comes bundled with WebStorm 6 and PhpStorm 6, but you have to download and install for the other JetBrians IDEs. Steps:

    Settings -> Plugins -> Browse repositories (button at the bottom) -> search for "file watchers" -> select File Watchers -> click download icon at top -> Close -> OK

    More info on JetBrains blog.

提交回复
热议问题