Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>sass-index-creatorNew to Visual Studio Code? Get it now.
sass-index-creator

sass-index-creator

Q

|
2,090 installs
| (1) | Free
When you create an index.scss it will automatically populate it with imports for all the sass files in the current directory, and all the index.scss files in the sub-directories.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

index.scss creator

If you create a new index.scss or index.sass it'll automatically import every SASS file in the directory, and any index.sass files from any sub-directories.

For example if you have the file tree:

root:
    file1.scss
    file2.scss
    sub-component:
        index.scss
        file3.scss

And you create an index.scss file in the root directory then this plugin will pre-populate the file with:

@import "file1";
@import "file2";
@import "sub-component/index";
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft