The "SCSS 7-1 Pattern Initializer" extension for Visual Studio Code automates the creation of the directory structure for the popular SCSS 7-1 pattern. This pattern is widely used in front-end development for organizing SCSS files in a manageable and scalable way.
- Folder Structure Creation: Quickly create the standard 7-1 pattern folder structure within your project.
- Customizable Folder Names: Option to specify a custom name for the root folder of the pattern.
- Initial File Setup: Generates common SCSS files like
_base.scssand_typography.scsswith basic content to get you started.
- Install the Extension: Search for "scss7-1" in the VS Code Extensions Marketplace and install it.
- Execute the Command: Open the command palette (
Ctrl+Shift+Pon Windows/Linux,Cmd+Shift+Pon macOS), then type "Create 7 - 1 pattern scss folders" and hit Enter. - Specify Folder Name (Optional): Enter a custom name for the root folder or leave blank to use the default "styles" folder.
- Folder Structure: The extension will create the following folders (and some initial files) in your project:
base: Contains_base.scss,_typography.scsscomponents: Contains initial component fileslayout: For layout-related stylespages: Page-specific stylesthemes: For theme-related stylesabstracts: Contains_variables.scss,_mixins.scssvendors: For third-party styles
- Visual Studio Code version 1.85.0 or higher.
Initial release of SCSS 7-1 Pattern Initializer.
Your contributions and suggestions are welcome. Please open an issue or submit a pull request for any enhancements.
This extension is not affiliated with the official SCSS language or its maintainers.