Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Simple LESS CompilerNew to Visual Studio Code? Get it now.
Simple LESS Compiler

Simple LESS Compiler

Samuel Adoga

|
74 installs
| (0) | Free
Auto-compile LESS to CSS on save with support for specific Source and Output directories (with subdirectories) and import dependency tracking!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Simple LESS Compiler

Compile LESS stylesheets instantly inside Visual Studio Code — no build tools or task runners required.

Simple LESS Compiler provides fast, reliable compile-on-save support for LESS with intelligent directory handling and dependency tracking.


Credits

  • This extension is a fork of the Easy Less Extension by @mrcrowl
  • View Readme on EasyLess extension for additional information

Key Enhancements

✔ Source & Output Directory Support

Define global directories for LESS sources and compiled CSS output.

After installation, you may optionally add the following to your settings.json:

"less.compile": {
  "sourceDir": "${workspaceFolder}/less/",
  "outputDir": "${workspaceFolder}/css/"
}

Basic Usage

  1. Create a .less file.

  2. Hit Ctrl/Cmd+S to save your file.

  3. A .css file is automatically generated in the correct folder/subfolder. (You do not need to specify the out in each file as previously required for dynamic storage).

  4. When you save an imported .less partial, Easy LESS v2 also recompiles .less files that import it E.g. if xxx.less imports yyy.less, when yyy.less is edited, yyy.css as well as xxx.css will be re-generated.

  5. You should see a temporary "Less compiled in X ms" message in the status bar.

N.B. Also available from the command palette as "Compile LESS to CSS".

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft